Stdin [Src]

Asynchronous access to stdin. The constructor is private to ensure that access is provided only via an environment.

actor tag Stdin

Public Behaviours

apply [Src]

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: (StdinNotify iso | None val),
  chunk_size: USize val = seq)

Parameters


dispose [Src]

Clear the notifier in order to shut down input.

be dispose()