vibe.d beta banner
get vibe.d
0.10.1

Asynchronous I/O that doesn’t get in your way, written in D

Function EventDriverSockets.cancelRead

Cancels an ongoing read operation.

abstract void cancelRead (
  StreamSocketFD socket
) nothrow @safe;

After this function has been called, the IOCallback specified in the call to read is guaranteed to not be called.

Authors
Copyright
License