Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
Emissary
ISubscriber
Interface ISubscriber
Index
Methods
addSubscription
subscribe
subscribeToCommand
subscribeWith
unsubscribe
Methods
public
addSubscription
(
subscription
:
any
)
:
ISubscription
Parameters
subscription:
any
Returns
ISubscription
public
subscribe
(
eventEmitterOrSubscription
:
any
, args
?:
Array<any>
)
:
ISubscription
Parameters
eventEmitterOrSubscription:
any
args?:
Array<any>
optional
Returns
ISubscription
public
subscribeToCommand
(
eventEmitter
:
any
, args
?:
Array<any>
)
:
ISubscription
Parameters
eventEmitter:
any
args?:
Array<any>
optional
Returns
ISubscription
public
subscribeWith
(
eventEmitter
:
any
, methodName
:
string
, args
:
any
)
:
ISubscription
Parameters
eventEmitter:
any
methodName:
string
args:
any
Returns
ISubscription
public
unsubscribe
(
object
?:
any
)
:
any
Parameters
object?:
any
optional
Returns
any
Globals
Emissary
Mixto
emissary
mixto
IEmitter
IEmitterStatic
ISubscriber
addSubscription
subscribe
subscribeToCommand
subscribeWith
unsubscribe
ISubscriberStatic
ISubscription
ISubscriptionStatic