Last updated
Was this helpful?
Last updated
Was this helpful?
Removes the listener function as callback of the selected RPC event.
Warning
This method will always return, even if there are errors while removing the listener, for controlling errors generated during the deregistration process use .
Type
removeListener(eventName, listener): void
Parameters
Return Type
void
Example
TypeScript
eventName
String
Event listened. Depeding on the provider chain one of or an .
listener
()=>any
Callback function.