class JsonRpc::Client::Signal_notification
- JsonRpc::Client::Signal_notification
- Cute::Signal
- Reference
- Object
Defined in:
json_rpc/client.crConstructors
Instance Method Summary
- #emit(method : String, data : JSON::Any) : Nil
-
#name : String
Returns the name of the signal, if applicable.
- #new_channel : Tuple(Channel(Tuple(String, JSON::Any)), Cute::ConnectionHandle)
- #on(&block : Proc(String, JSON::Any, Nil)) : Cute::ConnectionHandle
- #on(sink : Cute::Sink(U)) forall U
Constructor Detail
Instance Method Detail
def name : String
#
Description copied from class Cute::Signal
Returns the name of the signal, if applicable.