SignalNotify
Notifications for a signal.
interface ref SignalNotify
Public Functions
apply
Called with the the number of times the signal has fired since this was last called. Return false to stop listening for the signal.
fun ref apply( count: U32 val) : Bool val
Parameters
- count: U32 val
Returns
- Bool val
dispose
Called if the signal is disposed. This is also called if the notifier returns false.
fun ref dispose() : None val
Returns
- None val
© 2016-2020, The Pony Developers
© 2014-2015, Causality Ltd.
Licensed under the BSD 2-Clause License.
https://stdlib.ponylang.io/signals-SignalNotify