Get a Sink to connect and disconnect listeners from a Signal.
This function can be @trusted if the lifetime of the Sink does not extend the lifetime of the Signal.
Note: DIP1000 can detect if a reference escapes and as such it can infer @safe.
A newly constructed Sink.
See Implementation
Get a Sink to connect and disconnect listeners from a Signal.
This function can be @trusted if the lifetime of the Sink does not extend the lifetime of the Signal.
Note: DIP1000 can detect if a reference escapes and as such it can infer @safe.