AbortController: signal property

فهرست فصل‌ها دانلود آرشیوناشر

MDN Web Docs · نسخهٔ df622a2a1c1e · CC BY-SA 2.5 و مجوز جداگانهٔ ناشر برای نمونه‌کد

{{APIRef("DOM")}}{{AvailableInWorkers}}

The **signal** read-only property of the {{domxref("AbortController")}} interface returns an {{domxref("AbortSignal")}} object instance, which can be used to communicate with/abort an asynchronous operation as desired.

Value

An {{domxref("AbortSignal")}} object instance.

Examples

See the [AbortSignal page](/en-US/docs/Web/API/AbortSignal#examples) for usage examples.

You can find a full working example on GitHub; you can also see it running live.

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}

See also