Setu-TS
    Preparing search index...

    Type Alias WaitUntilHost

    WaitUntilHost: (promise: Promise<unknown>) => void

    A sink that keeps a Worker alive until the promise settles.

    import { waitUntil } from 'cloudflare:workers' satisfies this directly.

    Type Declaration

      • (promise: Promise<unknown>): void
      • Parameters

        • promise: Promise<unknown>

          Work that must finish after the response is returned

        Returns void

    0.2.0