Skip to main content
Module

x/rimbu/mod.ts>AsyncReducer

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Go to Latest
namespace AsyncReducer
Re-export
import { AsyncReducer } from "https://deno.land/x/rimbu@0.10.0/mod.ts";

Classes

A base class that can be used to easily create AsyncReducer instances.

Functions

Returns an AsyncReducer with the given options:

Returns an AsyncReducer of which the input, state, and output types are the same.

Returns an AsyncReducer of which the state and output types are the same.

type alias AsyncReducer
Re-export
import { type AsyncReducer } from "https://deno.land/x/rimbu@0.10.0/mod.ts";

An AsyncReducer is a stand-alone asynchronous calculation that takes input values of type I, and, when requested, produces an output value of type O.

Type Parameters

I
optional
O = I
definition: AsyncReducer.Impl<I, O, unknown>