SignalNotify

[Source]

Notifications for a signal.

interface ref SignalNotify

Public Functions

apply

[Source]

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

dispose

[Source]

Called if the signal is disposed. This is also called if the notifier returns false.

fun ref dispose()
: None val

Returns

© 2016-2020, The Pony Developers
© 2014-2015, Causality Ltd.
Licensed under the BSD 2-Clause License.
https://stdlib.ponylang.io/signals-SignalNotify