ggoodman

ggoodman/context

A take on ergonomic cancellation and timeout propagation in JavaScript inspired by the Go context package

TypeScript
13
0
MIT License

This JavaScript library provides a hierarchical cancellation and timeout system inspired by Go's context package, enabling developers to manage the lifetimes of operations in long-running processes. It allows creating parent contexts that can be cancelled by signals or timeouts, with child contexts automatically inheriting cancellation. The library is designed for developers building Node.js services that need to gracefully handle request timeouts, process signals, and cancel expensive operations when parent contexts are terminated.

Total donated
Undistributed
Share with your subscribers:

Recipients

How the donated funds are distributed

Support the dependencies

Top contributors

ggoodman's profile
ggoodman
18 contributions

Recent events

Kivach works on the Obyte network, and therefore you can track all donations.

No events yet