W3cubDocs

/Pony

InputStream

[Source]

Asynchronous access to some input stream.

interface tag InputStream

Public Behaviours

apply

[Source]

Set the notifier. Optionally, also sets the chunk size, dictating the maximum number of bytes of each chunk that will be passed to the notifier.

be apply(
  notify: (InputNotify iso | None val),
  chunk_size: USize val = 32)

Parameters

dispose

[Source]

Clear the notifier in order to shut down input.

be dispose()

© 2016-2018, The Pony Developers
© 2014-2015, Causality Ltd.
Licensed under the BSD 2-Clause License.
https://stdlib.ponylang.io/builtin-InputStream