Hermes PostgreSQL
    Preparing search index...

    Type Alias Start

    Start: () => Promise<Stop>

    Function type that starts the outbox consumer and returns a stop function.

    Type Declaration

      • (): Promise<Stop>
      • Returns Promise<Stop>

        Promise that resolves to a Stop function

    const stopOutbox = await outbox.start()

    // Later, to stop gracefully:
    await stopOutbox()