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

x/rimbu/actor/main/index.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@1.1.0/actor/main/index.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@1.1.0/actor/main/index.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; }