Skip to content
Noel Welsh edited this page Jul 10, 2012 · 1 revision

Initialisation

If your application does not already use EventMachine, you must start it before the client will work. This is simply achieved:

Myna.run.get

Note it is safe to call this method if EventMachine is already running, so there is no harm in including it in your code.

You may want to shutdown EventMachine when you have finished using Myna, though this is not necessary in most cases. To do so:

Myna.stop

Clone this wiki locally