node-fibers-synchronize-helper
Advanced tools
Comparing version 2.0.0 to 3.0.0
{ | ||
"name": "node-fibers-synchronize-helper", | ||
"version": "2.0.0", | ||
"version": "3.0.0", | ||
"description": "helper for synchronize promise and callback and manage variables on Fiber Thread as ThreadLocal", | ||
@@ -10,3 +10,3 @@ "main": "index.js", | ||
"dependencies": { | ||
"synchronize_f2": "2.0.1" | ||
"synchronize_f2": "3.0.0" | ||
}, | ||
@@ -25,2 +25,3 @@ "devDependencies": { | ||
"synchronize", | ||
"coroutines", | ||
"promise", | ||
@@ -43,2 +44,2 @@ "callback", | ||
"homepage": "https://github.com/zakdav/node-fibers-synchronize-helper#readme" | ||
} | ||
} |
# node-fibers-synchronize-helper | ||
This helper uses synchronize module (https://www.npmjs.com/package/synchronize) and helps to manage promises and callbacks, and manage variables on underlying Fiber Thread like Java ThreadLocal, **you will be able to synchronize callback and promises** and **develop syncronously as your did in Java** returning Objects and catch exceptions, and set-get Objects on your Fiber Thread as you did with Java **ThreadLocal**. | ||
Note version 2.0.x: | ||
updated Fibers version to 2.0.0 by synchronize_f2 module (just a synchronize fork with pointing to Fibers 2.0.0) | ||
This helper uses Fibers coroutines by synchronize_f2 module (fork of https://www.npmjs.com/package/synchronize) and helps to manage promises and callbacks, and manage variables on underlying Fiber Thread like Java ThreadLocal, **you will be able to synchronize callback and promises** and **develop syncronously as your did in Java** returning Objects and catch exceptions, and set-get Objects on your Fiber Thread as you did with Java **ThreadLocal**. | ||
Note version 3.0.x: | ||
updated Fibers version to 3 by synchronize_f2 module (just a synchronize fork with pointing to Fibers 3) | ||
***Create/Start Fiber Thread:*** | ||
@@ -9,0 +11,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
16949
195
+ Addeddetect-libc@1.0.3(transitive)
+ Addedfibers@3.1.1(transitive)
+ Addedsynchronize_f2@3.0.0(transitive)
- Removedfibers@2.0.2(transitive)
- Removedsynchronize_f2@2.0.1(transitive)
Updatedsynchronize_f2@3.0.0