@bitsinfra/fusee
    Preparing search index...

    Function crashEverywhere

    • Runs a workflow once per step boundary with a crash at each: the step's function ran, its result was not recorded, the engine recovered. Each time the result and the outside effects must equal those of a run without a crash; a step that is not idempotent (charges twice when run again) is found and named.

      await crashEverywhere(() => {
        const payments = new FakePayments();
        return { workflows: [checkoutWith(payments)], workflow: "checkout", id: "o-1", input: order, effects: () => payments.snapshot() };
      });
      

      Parameters

      Returns Promise<void>