Optional
nativeModule: NativeModulethe NativeModule implementation. This is required on IOS and will throw an invariant error if undefined.
Add the specified listener, this call passes through to the NativeModule addListener
name of the event for which we are registering listener
the listener function
Optional
context: Objectcontext of the listener
Removes a subscription created by the addListener, the EventSubscription#remove() function actually calls through to this.
Abstract base class for implementing event-emitting modules. This implements a subset of the standard EventEmitter node module API.