class JsonRpc::Client::Signal_notification

Defined in:

json_rpc/client.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new #

Instance Method Detail

def emit(method : String, data : JSON::Any) : Nil #

def name : String #
Description copied from class Cute::Signal

Returns the name of the signal, if applicable.


def new_channel : Tuple(Channel(Tuple(String, JSON::Any)), Cute::ConnectionHandle) #

def on(&block : Proc(String, JSON::Any, Nil)) : Cute::ConnectionHandle #

def on(sink : Cute::Sink(U)) forall U #