Cute::Signal
Inherits Reference / Object
Base class for Cute.signal
Instance methods
wait
Waits for the next event and returns the signal arguments.
See samples/wait.cr for a usage example.
Macros
implementation(call, async)
Private-ish macro writing methods as required by Signal for a sub-class
of it. call is expected to be a CallNode, and async if the signal
emission shall be delivered asynchronously, or right away.
Note: You usually don't use this macro yourself. See Cute.signal
instead.