Construct a handle wrapping a shared cancellation flag. Created by a ClientTransport when it opens the listen stream. onCancel, when supplied, is invoked exactly once on the first cancel() (after the flag is set) so a single-channel transport can emit its stdio notifications/cancelled for the listen request id.
A handle to an open subscriptions/listen stream. The stream runs on a background task, dispatching the leading notifications/subscriptions/acknowledged and every subsequent opted-in change notification to the client's onNotification (and onProgress). Call cancel() (alias close()) to stop listening; the background task then closes the connection and terminates.