Skip to main content
Module

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

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

Function type to use to apply the given action handler result.

definition: <S>(
state: S,
action: ActionBase,
handlerResult: (C & { _STATE: S; })["_ACTION_HANDLER_RESULT"],
) => S