Skip to content

Instantly share code, notes, and snippets.

@wearhere
Created July 22, 2015 19:39
Show Gist options
  • Save wearhere/797472df180dadfb174c to your computer and use it in GitHub Desktop.
Save wearhere/797472df180dadfb174c to your computer and use it in GitHub Desktop.
Fiber functions can't be used outside of a fiber. More info at https://www.mixmax.com/blog/node-fibers-using-synchronize-js.
processFile('a.txt');
// Console:
Error: no current Fiber, defer can't be used without Fiber!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment