@thi.ng/transducers-async
TypeScript icon, indicating that this package has built-in type declarations

0.2.4 • Public • Published

@thi.ng/transducers-async

npm version npm downloads Mastodon Follow

[!NOTE] This is one of 192 standalone projects, maintained as part of the @thi.ng/umbrella monorepo and anti-framework.

🚀 Please help me to work full-time on these projects by sponsoring me on GitHub. Thank you! ❤️

About

Async versions of various highly composable transducers, reducers and iterators. This is a support package for @thi.ng/transducers.

Evaluators

Generators & iterators

Combinators

Transducers

Reducers

Status

ALPHA - bleeding edge / work-in-progress

Search or submit any issues for this package

Related packages

  • @thi.ng/csp - Primitives & operators for Communicating Sequential Processes based on async/await and async iterables
  • @thi.ng/fibers - Process hierarchies & operators for cooperative multitasking
  • @thi.ng/rstream - Reactive streams & subscription primitives for constructing dataflow graphs / pipelines

Installation

yarn add @thi.ng/transducers-async

ESM import:

import * as txa from "@thi.ng/transducers-async";

Browser ESM import:

<script type="module" src="https://esm.run/@thi.ng/transducers-async"></script>

JSDelivr documentation

For Node.js REPL:

const txa = await import("@thi.ng/transducers-async");

Package sizes (brotli'd, pre-treeshake): ESM: 3.10 KB

Dependencies

Usage examples

Several projects in this repo's /examples directory are using this package:

Screenshot Description Live demo Source
CSP channel-based event handling, async transducers & reactive UI components Demo Source
Basic & barebones usage of async iterables in thi.ng/rdom Demo Source

API

Generated API docs

TODO

Authors

If this project contributes to an academic publication, please cite it as:

@misc{thing-transducers-async,
  title = "@thi.ng/transducers-async",
  author = "Karsten Schmidt",
  note = "https://thi.ng/transducers-async",
  year = 2018
}

License

© 2018 - 2024 Karsten Schmidt // Apache License 2.0

Package Sidebar

Install

npm i @thi.ng/transducers-async

Weekly Downloads

229

Version

0.2.4

License

Apache-2.0

Unpacked Size

76.6 kB

Total Files

76

Last publish

Collaborators

  • thi.ng