class NATS::Client::Subscription

Defined in:

nats/client/subscription.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(channel : String, socket : NATS::Client::Connection, id : UInt64 | UInt32 | Nil, options : OptionsHash, &callback : CallbackProc) #

[View source]

Instance Method Detail

def callback : Slice(UInt8), String, String -> Nil #

[View source]
def id : UInt64 #

[View source]
def subscribe : Void #

[View source]
def unsubscribe : Void #

[View source]