1.0.0 • Published 6 years ago
minizone v1.0.0
Minizone
Minimal zone.js implementation using node.js async_hooks
Used internally for searchlibs.com
Usage
import 'minizone'
const z = Zone.current.fork({
properties: { tx: ... }
})
await z.run(async () => {
// do something async
// access tx from anywhere with `Zone.current.get('tx')`
})
1.0.0
6 years ago