Method: NATS.flush

Defined in:
lib/nats/client.rb

.flush(*args, &blk) ⇒ Object

Flushes all messages and subscriptions in the default connection

See Also:



376
377
378
# File 'lib/nats/client.rb', line 376

def flush(*args, &blk)
  (@client ||= connect).flush(*args, &blk)
end