- Preparing search index...
- The search index is not available
queueable
- fromEmitter<Event>(init): ((type, emitter) => AsyncIterableIterator<Event>)
-
Returns ((type, emitter) => AsyncIterableIterator<Event>)
-
- (type, emitter): AsyncIterableIterator<Event>
-
Parameters
-
type: string | symbol
-
emitter: EventEmitter
Returns AsyncIterableIterator<Event>
Convert node EventEmitter events to an async iterable iterator.