UNPKG

actor-kit

Version:

Actor Kit is a library for running state machines in Cloudflare Workers, leveraging XState for robust state management. It provides a framework for managing the logic, lifecycle, persistence, synchronization, and access control of actors in a distributed

13 lines 487 B
import type { AnyActorKitStateMachine, CallerSnapshotFrom } from "./types"; export { withActorKit } from "./withActorKit"; export interface ActorKitParameters<TMachine extends AnyActorKitStateMachine> { actorKit: { [K: string]: { [actorId: string]: CallerSnapshotFrom<TMachine>; }; }; } export type StoryWithActorKit<TMachine extends AnyActorKitStateMachine> = { parameters: ActorKitParameters<TMachine>; }; //# sourceMappingURL=storybook.d.ts.map