Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
Emissary
IEmitter
Interface IEmitter
Hierarchy
IEmitter
ISubscription
ITextBuffer
IPackageManager
IDisplayBufferMarker
IMarker
Index
Methods
behavior
decrementSubscriptionCount
emit
getSubscriptionCount
hasSubscriptions
incrementSubscriptionCount
off
on
once
pauseEvents
resumeEvents
signal
Methods
public
behavior
(
eventName
:
string
, initialValue
:
any
)
Parameters
eventName:
string
initialValue:
any
public
decrementSubscriptionCount
(
eventName
:
string
)
:
number
Parameters
eventName:
string
Returns
number
public
emit
(
eventName
:
string
, args
?:
Array<any>
)
Parameters
eventName:
string
args?:
Array<any>
optional
public
getSubscriptionCount
(
eventName
:
string
)
:
number
Parameters
eventName:
string
Returns
number
public
hasSubscriptions
(
eventName
:
string
)
:
boolean
Parameters
eventName:
string
Returns
boolean
public
incrementSubscriptionCount
(
eventName
:
string
)
:
number
Parameters
eventName:
string
Returns
number
public
off
(
eventNames
:
string
, handler
:
Function
)
Parameters
eventNames:
string
handler:
Function
public
on
(
eventNames
:
string
, handler
:
Function
)
:
any
Parameters
eventNames:
string
handler:
Function
Returns
any
public
once
(
eventName
:
string
, handler
:
Function
)
:
any
Parameters
eventName:
string
handler:
Function
Returns
any
public
pauseEvents
(
eventNames
:
string
)
Parameters
eventNames:
string
public
resumeEvents
(
eventNames
:
string
)
Parameters
eventNames:
string
public
signal
(
eventName
:
string
)
Parameters
eventName:
string
Globals
AtomCore
Emissary
Mixto
NodeJS
PathWatcher
StatusBar
TextBuffer
assert
atom
buffer
child_process
cluster
crypto
dgram
dns
domain
emissary
events
fs
http
https
jquery
mixto
net
os
path
pathwatcher
punycode
q
querystring
readline
repl
space-pen
stream
string_decoder
text-buffer
tls
tty
url
util
vm
zlib
IEmitter
behavior
decrementSubscriptionCount
emit
getSubscriptionCount
hasSubscriptions
incrementSubscriptionCount
off
on
once
pauseEvents
resumeEvents
signal
IEmitterStatic
ISubscriber
ISubscriberStatic
ISubscription
ISubscriptionStatic