import { createDoneActorEvent } from "https://deno.land/x/xstate@xstate@5.14.0/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.