Skip to main content
Module

x/rimbu/actor/mod.ts>Slice

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

Functions

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

Type Aliases

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

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

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

Type Parameters

S
optional
ACS = Record<string, never>
definition: { readonly reducer: Actor.ActionReducer<S>; readonly actions: ACS; }