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

x/rimbu/actor/main/lookup.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@0.14.0/actor/main/lookup.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