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

x/rimbu/actor/main/action.ts>Action

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

Variables

Returns a new action creator instance that can be used to create Action instances.

Type Aliases

Type for creating an Action instance.

interface Action
implements ActionBase
import { type Action } from "https://deno.land/x/rimbu@1.1.0/actor/main/action.ts";

The default action interface, containing an optional payload.

Type Parameters

optional
P = unknown

Properties

readonly
type: string
readonly
payload: P