Skip to main content
Module

x/rimbu/actor/command.ts

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Go to Latest
import * as rimbu from "https://deno.land/x/rimbu@0.12.3/actor/command.ts";

Functions

Returns a Command instance with the given execute action, and will only execute the action if the optionally given enabled Actor state is true.

Interfaces

A Command is an Actor that can execute some command optinally with some arguments, only if its state is true.