vapor-chamber API reference - v1.16.0
    Preparing search index...

    Function rehydrateAsync

    • rehydrate for an AsyncCommandBus — the common case as soon as any handler hits an HTTP transport.

      Awaits each dispatch in order, preserving the module's design intent (deterministic replay before the app goes interactive). A rejected dispatch becomes { ok: false, error } in the results, exactly as a thrown one does on the sync path — never an unhandled rejection.

      Parameters

      Returns Promise<CommandResult[]>