SDK
SDK Golang v3.x
2

RemoveAllListeners #

Removes all channels from an event.
If no eventName is specified, removes all channels from all events.

Channels removed this way are not closed.

Arguments #

RemoveAllListeners(event int)

ArgumentTypeDescription
eventintEvent constant from the event package