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

x/rimbu/actor/main/internal.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/main/internal.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>