unregisterEventByUserId

Remove registered callback for a specific user id

Parameters

NameTypeDescription
userIdstringuser id to remove all callback

Example

When you register to an event, you can pass a custom id for grouping listener. For exemple you can write this:

Javascript
Copy

You can remove the 2 events using the user id "group1":

Javascript
Copy
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard