Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/rimbu/actor/mod.ts>SliceConfig.ActionIncluder

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Go to Latest
type alias SliceConfig.ActionIncluder
import { type SliceConfig } from "https://deno.land/x/rimbu@1.0.4/actor/mod.ts";
const { ActionIncluder } = SliceConfig;

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

definition: <AC extends ActionBase>(action: ActionBase.Creator<AC, any[]>, handler: (C & { _STATE: S; _INCLUDE_ACTION_TYPE: AC; })["_INCLUDE_HANDLER"]) => Record<string, (state: S, action: ActionBase) => S>