jira.js
    Preparing search index...

    Type Alias SendRequestOptions<T>

    SendRequestOptions: z.infer<typeof sendRequestOptionsSchema> & {
        schema?: z.ZodType<T>;
        signal?: AbortSignal;
    }

    Type Parameters

    • T = unknown

    Type Declaration

    • Optionalschema?: z.ZodType<T>
    • Optionalsignal?: AbortSignal

      Aborts the request, and any retry back-off it is waiting out.

      Declared on the type rather than in the schema above: z.custom<AbortSignal>(v => v instanceof AbortSignal) is wrong the moment a signal crosses a realm — jsdom, undici and a worker each have their own constructor — and nothing here parses these options at runtime anyway.