createEndCallbackInputStream

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

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

Parameters

input InputStream

Source stream to read from

callback void delegate
()
@safe

The callback that is invoked one the source stream has been drained

Meta