Preparing search index...
The search index is not available
@hiveio/dhive
@hiveio/dhive
utils
waitForEvent
Function waitForEvent
wait
For
Event
<
T
>
(
emitter
:
EventEmitter
, eventName
:
string
|
symbol
)
:
Promise
<
T
>
Return a promise that will resove when a specific event is emitted.
Type Parameters
Type Parameters
T
Parameters
emitter:
EventEmitter
eventName:
string
|
symbol
Returns
Promise
<
T
>
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Modules
@hiveio/dhive
utils
Witness
Props
operation
Orders
build
Witness
Update
Op
copy
iterator
Stream
make
Bit
Mask
Filter
retrying
Fetch
sleep
wait
For
Event
Generated using
TypeDoc
Return a promise that will resove when a specific event is emitted.