Skip to content

InputNotify

[Source]

Notification for data arriving via an input stream.

interface ref InputNotify

Public Functions

apply

[Source]

Called when data is available on the stream.

fun ref apply(
  data: Array[U8 val] iso)
: None val

Parameters

Returns


read_failed

[Source]

Called when a read from the stream fails, before dispose.

fun ref read_failed()
: None val

Returns


dispose

[Source]

Called when no more data will arrive on the stream.

fun ref dispose()
: None val

Returns