Skip to content

RequestOptions

Per-call options, accepted as the LAST argument of every method.

signal is deliberately not folded into the query objects ({ limit, next }): those describe the request the server sees, this describes the caller’s lifetime.

optional signal?: AbortSignal;

Standard cancellation. Aborting rejects the call with whatever fetch throws — a DOMException with name === 'AbortError', or the signal’s own reason — NOT a DropInApiError. So err instanceof DropInApiError keeps meaning “the API answered”.