Skip to main content

smwebsdk.smevent.removelistener

Home > @soulmachines/smwebsdk > SmEvent > removeListener

SmEvent.removeListener() method

Deregister a existing listener for this event.

Signature:

removeListener(callback: Function): void;

Parameters

ParameterTypeDescription
callbackFunctionPreviously registered function to be removed. It is a safe no-op to pass a callback which was never registered against this event.

Returns:

void