Skip to content

Kelerchian/systemic-ts-utils

Repository files navigation

Systemic TS Utils

Paraphernalia to facilitate writing Systemic TypeScript code.

Separated Imports

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 contains sleep, a Promise wrapper for setTimeout
  • systemic-ts-utils/destruction: Alleviate the absence of destructor in JavaScript
  • systemic-ts-utils/erpromise: Externally Resolvable/Rejectable Promise and Abortables
  • systemic-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 objects
  • systemic-ts-utils/purge-memo: Memoized function and manual purging
  • systemic-ts-utils/valcon: Simple and/or observable value container
// For example:
import * as Locks from "systemic-ts-utils/lock"

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published