whenNotReady

fun PullInputChannel<*>.whenNotReady(callback: context(Simulator) () -> Unit)

Registers a callback to be invoked when this channel becomes not ready.

Parameters

callback

the lambda to invoke when the channel is no longer ready