class EventEmitter::Signal_event
- EventEmitter::Signal_event
- Cute::Signal
- Reference
- Object
Defined in:
cuter.crConstructors
-
.new(parent : EventEmitter)
NOTE Overriden, added @parent and @listeners1
Instance Method Summary
-
#emit(type : String) : Bool
NOTE Added return value
-
#emit2(type : String) : Bool
NOTE Equivalent of emit in Blessed
-
#name : String
Returns the name of the signal, if applicable.
- #new_channel : Tuple(Channel(String), Cute::ConnectionHandle)
-
#on(&block : Proc(String, Bool)) : Cute::ConnectionHandle
NOTE Added emit of new_listener
- #on(sink : Cute::Sink(U)) forall U
- #parent : EventEmitter
Instance methods inherited from class Cute::Signal
disconnect(handler_hash)disconnect disconnect, name : String | Nil name, wait wait
Constructor Detail
Instance Method Detail
def name : String
#
Description copied from class Cute::Signal
Returns the name of the signal, if applicable.