Method: NATS.timeout
- Defined in:
- lib/nats/client.rb
.timeout(*args, &blk) ⇒ Object
Set a timeout for receiving messages for the subscription.
358 359 360 |
# File 'lib/nats/client.rb', line 358 def timeout(*args, &blk) (@client ||= connect).timeout(*args, &blk) end |