Closed trowski closed 2 years ago
This allows interested parties to be notified when a stream (or other resource, such as a server) is closed.
Added OnCloseRegistry for reuse in implementations, including those in other libraries such as amphp/socket.
Reused Future as @bwoebi suggested.
This allows interested parties to be notified when a stream (or other resource, such as a server) is closed.
Added OnCloseRegistry for reuse in implementations, including those in other libraries such as amphp/socket.