Prevent *Sync functions from being run after the first tick
Want to see pretty graphs? Log in now!
npm install nosync
|1||downloads in the last week|
|7||downloads in the last month|
|Last Published By|
|Version||1.0.0 last updated 2 years ago|
Want to prevent accidentally calling sync functions?
require("nosync") will clog that drain for you, by making all sync
functions throw after the next tick.
This still allows you to do whatever you need to in the setup phase of your program, where synchronous IO is a good thing.