Paraphernalia to facilitate writing Systemic TypeScript code.
All modules are available under "." exports.
import * as SystemicTsUtils from "systemic-ts-utils"
However, separate modules are also provided to make it easy to tree-shake, and so on:
systemic-ts-utils/async-utils
: Currently only containssleep
, aPromise
wrapper forsetTimeout
systemic-ts-utils/destruction
: Alleviate the absence ofdestructor
in JavaScriptsystemic-ts-utils/erpromise
: Externally Resolvable/Rejectable Promise and Abortablessystemic-ts-utils/iter-cell
: IteratorCell, an immutable container for mutable Set, Map, and Array.systemic-ts-utils/lock
: Various locks for working with concurrent operations.systemic-ts-utils/obs
: Simple typed event emitter and pipe objectssystemic-ts-utils/purge-memo
: Memoized function and manual purgingsystemic-ts-utils/valcon
: Simple and/or observable value container
// For example:
import * as Locks from "systemic-ts-utils/lock"