/** * Abort helpers: race any promise against a signal, and throw the signal's reason once it fires. * @module dsh-lsp-actions/abort */ /** * Race `promise` against `signal`; the returned promise rejects with the signal's reason the * moment it aborts, without disturbing the underlying promise's own settlement. * @param promise - the work to race. * @param signal - optional cancellation; undefined returns the promise unchanged. * @returns the raced promise. */ export declare function abortable(promise: Promise, signal: AbortSignal | undefined): Promise; //# sourceMappingURL=abort.d.ts.map