Method: Browser::EventSource#alive?

Defined in:
opal/browser/event_source.rb

#alive?Boolean

Check if the event source is alive.

Returns:

  • (Boolean)


61
62
63
# File 'opal/browser/event_source.rb', line 61

def alive?
  state == :open
end