Module

x/xstate/src/eventUtils.ts>createDoneActorEvent

Actor-based state management & orchestration for complex app logic.
Go to Latest
function createDoneActorEvent
import { createDoneActorEvent } from "https://dotland.deno.dev/x/xstate@xstate%405.9.1/src/eventUtils.ts";

Returns an event that represents that an invoked service has terminated.

An invoked service is terminated when it has reached a top-level final state node, but not when it is canceled.

Parameters

invokeId: string

The invoked service ID

optional
output: unknown

The data to pass into the event