MonitorAction

typealias MonitorAction = () -> Boolean

A function type used as a callback during timed monitor waits.

Invoked each time a wait attempt times out but the overall maximum wait has not elapsed. Return true to continue waiting, or false to abort.