EM::Deferrable and EM.defer

Solomon White edited this page Dec 29, 2015 · 5 revisions

Be careful not to mix up EM::Deferrable and EM.defer:

EM.defer is one of EventMachine’s mechanisms for lightweight concurrency. (Spawned Processes is another.)

EM.defer makes it easy and graceful to initiate a long-running (“deferrable”) operation (such as a call to an external web site), and attach any number of code blocks to be executed when the deferrable operation completes.

This page is under construction. The intention is that this page will become the primary resource for learning about Deferrable.

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.