0.0.6 • Published 2 years ago

@steeringwaves/context v0.0.6

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

@steeringwaves/context

workflow

A typescript context library.

Example

const Context = require("@steeringwaves/context").default;

const parent = new Context();
const child = new Context({ Parent: parentCtx });
parent.on("done", () => {
	console.log("parent done");
});

child.on("done", () => {
	console.log("child done");
});

console.log(child.Done()); // false

parent.Cancel();

console.log(child.Done()); // true
0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago