Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/rimbu/actor/main/index.ts

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Go to Latest
import * as rimbu from "https://deno.land/x/rimbu@1.0.4/actor/main/index.ts";

Variables

Returns a new action creator instance that can be used to create Action instances.

Functions

Returns a reducer that implements a lookup algorithm based on the given configuration.

Returns an object containing the combined reducer and action creators from the given input object.

Returns a configured object that can be used to produce slices with the given configuration.

Interfaces

The default action interface, containing an optional payload.

The minimal interface for an action, containing a unique tag.

Defines how to create an action, and specifies the mandatory match function to determine whether an action matches the creator.

Interface to define a lookup algorithm based on actions and a fallback.

Interface to define lookup actions.

Utility type to determine the types to be used in the slice configuration.

Type Aliases

Type for creating an Action instance.

Function to determine how the lookup result type should be used to update a given state.

An actor slice containing an action reducer for state of type S, and potentially action definitions.

Utility type to extract the state type from a given slice type.

Type used to define a lookup action object.

Function type to use to include external actions in the slice.

The result type of an action include function.

Function type to use to apply the given action handler.

Function type to use to apply the given action handler result.

The type used to define slice actions