Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
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@0.13.0/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>