Method: NATS#cancel_ping_timer

Defined in:
lib/nats/client.rb

#cancel_ping_timerObject

[View source]

1039
1040
1041
1042
1043
1044
# File 'lib/nats/client.rb', line 1039

def cancel_ping_timer
  if @ping_timer
    EM.cancel_timer(@ping_timer)
    @ping_timer = nil
  end
end