The fsCommBusUnregisterOneEvent is used to unregister one single registered event.

 

Syntax
bool fsCommBusUnregisterOneEvent(
    const char* eventName,
    fsCommBusWasmCallback callback,
    void* ctx
);

 

Members
ParametersDescription
eventNameThe name of the event that you want to unregister.
callbackCallback associated with the eventy to unregister. Can be a nullptr to not specify a callback.
ctx

Context given when the event is registered. The pointer will be sent back when the event is called.

Default value is nullptr.

 

Return Values

The function returns False if something is wrong with the arguments and/or event couldn’t be unregistered, otherwise it will return True.

 

Remarks

N/A