Skip to main content
Module

x/rimbu/actor/mod.ts>SliceConfig

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

Functions

Returns a configured object that can be used to produce slices with the given configuration.

Type Aliases

Type used to define a lookup action object.

Function type to use to include external actions in the slice.

The result type of an action include function.

Function type to use to apply the given action handler.

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

The type used to define slice actions

interface SliceConfig
Re-export
import { type SliceConfig } from "https://deno.land/x/rimbu@0.14.0/actor/mod.ts";

Utility type to determine the types to be used in the slice configuration.

Properties

_STATE: unknown

The slice state type

_ACTION_HANDLER_ARGS: this["_ACTION_HANDLER_UNKNOWN"][]

The action handler function arguments.

_ACTION_HANDLER_UNKNOWN: unknown

The action handler unknown type (utility)

_ACTION_HANDLER: (...args: this["_ACTION_HANDLER_ARGS"]) => unknown

The action handler function type.

_INCLUDE_HANDLER_ARGS: unknown[]
_INCLUDE_ACTION_TYPE: ActionBase
_INCLUDE_HANDLER: (...args: this["_INCLUDE_HANDLER_ARGS"]) => this["_ACTION_HANDLER_RESULT"]
_ACTION_TYPE: ActionBase

The action type used for action handlers.

_ACTION_CREATOR: ActionBase.Creator<this["_ACTION_TYPE"], this["_ACTION_CREATOR_PARAMS"]>

The action creator function type.

_ACTION_CREATOR_PARAMS: unknown[]

The action creator parameters.

_ACTION_HANDLER_RESULT: unknown

The action handler function result type.