Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Update README.md

  • Loading branch information...
commit 9ff95255630f5e427b4f81b48f8dc98a2688bb5f 1 parent 7423bc1
@olegp authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  README.md
View
1  README.md
@@ -117,6 +117,7 @@ To use the package in your existing app, you will need to:
* run your app with `node` instead of `common-node`
* change the way in which you require modules from `var io = require('io');` to `var io = require('common-node').io;` or update your NODE_PATH to include `common-node/lib` (see `bin/common-node` for an example)
+ * make sure any synchronous code is inside a fiber that has been created with `spawn` (in the example below each call of exports.app runs in a new fiber)
For example the following modified version of `examples/http.js` can be run directly via `node http.js`
Please sign in to comment.
Something went wrong with that request. Please try again.