Method: NATS.subscribe
- Defined in:
- lib/nats/client.rb
.subscribe(*args, &blk) ⇒ Object
Subscribe using the default client connection.
346 347 348 |
# File 'lib/nats/client.rb', line 346 def subscribe(*args, &blk) (@client ||= connect).subscribe(*args, &blk) end |