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

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