Method: Cyperful::UiServer#start_async

Defined in:
lib/cyperful/ui_server.rb

#start_asyncObject



111
112
113
114
115
116
117
118
# File 'lib/cyperful/ui_server.rb', line 111

def start_async
  # start server in background i.e. non-blocking
  @thread =
    Thread.new do
      Thread.current.abort_on_exception = true
      @server.start
    end
end