import * as xstate from "https://deno.land/x/xstate@xstate%405.9.1/src/toPromise.ts"; FunctionsftoPromiseReturns a promise that resolves to the output of the actor when it is done.