ctx 1.0.0
ctx: ^1.0.0 copied to clipboard
Immutable context for carrying data through an application.
1.0.0 #
- Added
Zonesupport for ambient context propagation:- Added
Context.currentstatic getter to access active context fromZone.current. - Added
run(),runZoned(), andrunZonedGuarded()methods onContext.
- Added
0.0.4 #
- Fix memory leak when creating derived contexts via
withCancel()orwithTimeout()from uncancelable parent contexts (e.g.,Context.empty()).
0.0.3 #
- Added
withCancelto support context cancellation. - Added
withoutCancelto detach context cancellation from parent. - Added
withTimeoutandwithDeadlinefor automatic time-based cancellation.
0.0.2 #
- Changed context key type from
StringtoObject.
0.0.1 #
- Initial version.