import { Action } from "https://deno.land/x/rimbu@1.1.0/actor/main/internal.ts";
const { create } = Action;
Returns a new action creator instance that can be used to create Action
instances.
type
{ <P = void>(config?: { type?: string; createTag?: () => string; createPayload?: never; }): Action.Creator<P, [P]>; <P, A extends unknown[]>(config?: { type?: string; createTag?: () => string; createPayload: (...args: A) => P; }): Action.Creator<P, A>; }