durable-execution - v0.8.0
    Preparing search index...

    Function createTimeoutCancelSignal

    • Create a cancel signal that will be cancelled after a timeout.

      Parameters

      • timeoutMs: number

        The timeout in milliseconds.

      • options: { logger?: Logger } = {}

        The options for the cancel signal.

        • Optionallogger?: Logger

          The logger to use for the cancel signal. If not provided, a console logger will be created with the default settings.

      Returns CancelSignal

      A cancel signal.