Properties
Private
buffer
buffer: Deferred<IteratorResult<A, any>> = ...
Private
closed
closed: boolean = false
Private
requested
requested: boolean = false
Private
resolved
resolved: boolean = false
Static
fromDom
fromDom: ((type, target, options?) => AsyncIterableIterator<Event | UIEvent | AnimationEvent | MouseEvent | InputEvent | FocusEvent | CompositionEvent | DragEvent | ErrorEvent | FormDataEvent | PointerEvent | KeyboardEvent | ProgressEvent<EventTarget> | SecurityPolicyViolationEvent | SubmitEvent | TouchEvent | TransitionEvent | WheelEvent>) = ...
Type declaration
-
- (type, target, options?): AsyncIterableIterator<Event | UIEvent | AnimationEvent | MouseEvent | InputEvent | FocusEvent | CompositionEvent | DragEvent | ErrorEvent | FormDataEvent | PointerEvent | KeyboardEvent | ProgressEvent<EventTarget> | SecurityPolicyViolationEvent | SubmitEvent | TouchEvent | TransitionEvent | WheelEvent>
-
Parameters
-
type: keyof GlobalEventHandlersEventMap
-
target: Target<keyof GlobalEventHandlersEventMap, Listener<keyof GlobalEventHandlersEventMap>, boolean | AddEventListenerOptions>
-
Optional
options: boolean | AddEventListenerOptions
Returns AsyncIterableIterator<Event | UIEvent | AnimationEvent | MouseEvent | InputEvent | FocusEvent | CompositionEvent | DragEvent | ErrorEvent | FormDataEvent | PointerEvent | KeyboardEvent | ProgressEvent<EventTarget> | SecurityPolicyViolationEvent | SubmitEvent | TouchEvent | TransitionEvent | WheelEvent>
Static
fromEmitter
fromEmitter: ((type, emitter) => AsyncIterableIterator<any>) = ...
Type declaration
-
- (type, emitter): AsyncIterableIterator<any>
-
Parameters
-
type: string | symbol
-
emitter: EventEmitter
Returns AsyncIterableIterator<any>