import { Actor } from "https://deno.land/x/rimbu@1.1.0/actor/main/actor.ts";
const { configure } = Actor;
Type Parameters
optional
D extends Actor.DispatchFunction = (action: ActionBase) => voidoptional
AC extends Actor.ActionsDefinition = Record<string, never>optional
EnhancedActor extends Actor.Dispatch<any> & Actor.Actions<any> & { actionCreators: AC; } = Actor<S, D, AC> & { actionCreators: AC; }Parameters
config: { reducer: Actor.ActionReducer<S>; actions?: AC | undefined; middleware?: (actor: Actor<S, (action: ActionBase) => void, any>) => D; enhancer?: (actor: Actor<S, D, AC> & { actionCreators: AC; }) => EnhancedActor; }