Preparing search index...
The search index is not available
DWN-SDK Documentation - v0.5.2
DWN-SDK Documentation
EventEmitterStream
Class EventEmitterStream
The EventStream interface implements a pub/sub system based on Message filters.
Implements
EventStream
Index
Constructors
constructor
Methods
close
emit
open
subscribe
Constructors
constructor
new
Event
Emitter
Stream
(
config
?
)
:
EventEmitterStream
Parameters
config
:
EventEmitterStreamConfig
= {}
Returns
EventEmitterStream
Methods
close
close
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
emit
emit
(
tenant
,
event
,
indexes
)
:
void
Parameters
tenant
:
string
event
:
MessageEvent
indexes
:
KeyValues
Returns
void
open
open
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
subscribe
subscribe
(
tenant
,
id
,
listener
)
:
Promise
<
EventSubscription
>
Parameters
tenant
:
string
id
:
string
listener
:
EventListener
Returns
Promise
<
EventSubscription
>
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
close
emit
open
subscribe
DWN-SDK Documentation - v0.5.2
Loading...
The EventStream interface implements a pub/sub system based on Message filters.