Subscribe a sink to a stream, returning a task representing the connection.
(Shorthand for currentContext().connect(...).)
An event source or signal
A callback that will receive the events
Optional
Optional - a throttle() to control backpressure
a Task that can be used to detect the stream end/error, or canceled to close it early.
Subscribe a sink to a stream, returning a task representing the connection.
(Shorthand for currentContext().connect(...).)