Binds a Workers server socket's events to a sink.
accept() is called first — a Workers socket cannot send or receive until it is accepted — and the sink's onOpen fires immediately afterwards, because Workers emits no open event for the server half of a pair.
accept()
onOpen
open
The server half of the pair
The sink to drive
0.2.0
Binds a Workers server socket's events to a sink.
accept()is called first — a Workers socket cannot send or receive until it is accepted — and the sink'sonOpenfires immediately afterwards, because Workers emits noopenevent for the server half of a pair.