removeSimpleListener

Unregister a function that is a listener to a certain event.


XopusNode.removeSimpleListener( eventName : String,  listenerFn : Function) : Function

Warning: this page describes deprecated functionality.
Don't start using it, and please update existing code to use alternatives.

Arguments

eventName
String. The name of the event to which the listener is registered.
listenerFn
Function. The function originally passed to addSimpleListener.

Return Value

Function
The original listener function.