InputStream
Asynchronous access to some input stream.
interface tag InputStream
Public Behaviours
apply
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
- notify: (InputNotify iso | None val)
- chunk_size: USize val = 32
dispose
Clear the notifier in order to shut down input.
be dispose()
© 2016-2020, The Pony Developers
© 2014-2015, Causality Ltd.
Licensed under the BSD 2-Clause License.
https://stdlib.ponylang.io/builtin-InputStream