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

x/rimbu/actor/main/slice-config.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.1.0/actor/main/slice-config.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