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

x/rimbu/actor/mod.ts>Lookup.Updater

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

Function to determine how the lookup result type should be used to update a given state.

definition: (
state: S,
action: ActionBase,
lookupValue: R,
) => S