lib/ably/modules/async_wrapper.rb in ably-0.6.2 vs lib/ably/modules/async_wrapper.rb in ably-0.7.0
- old
+ new
@@ -1,4 +1,6 @@
+require 'eventmachine'
+
module Ably::Modules
# Provides methods to convert synchronous operations into async operations through the use of
# {EventMachine#defer http://www.rubydoc.info/github/eventmachine/eventmachine/EventMachine#defer-class_method}.
# The async_wrap method can only be called from within an EventMachine reactor, and must be thread safe.
#