vibe.d beta banner
get vibe.d
0.8.2

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

Function createEndCallbackInputStream

Creates a stream that fires a callback once the end of the underlying input stream is reached.

EndCallbackInputStream createEndCallbackInputStream(InputStream) (
  InputStream input,
  @safe void delegate() callback
)
if (isInputStream!InputStream);

Parameters

NameDescription
input Source stream to read from
callback The callback that is invoked one the source stream has been drained
Authors

Sönke Ludwig

Copyright

© 2012 RejectedSoftware e.K.

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.