Converts EventTarget events (including WebSocket events) to a bounded stream.
Each execution installs one listener on first demand and removes it on close.
Events do not complete automatically; use take(), cancellation, or fromCallback
when the source has a separate completion event.
Converts EventTarget events (including WebSocket events) to a bounded stream. Each execution installs one listener on first demand and removes it on close. Events do not complete automatically; use take(), cancellation, or fromCallback when the source has a separate completion event.