AbortController
Overview
AbortController is a class in Aspose.Html FOSS for Python.
Controls cancellation of operations via an :class:AbortSignal.
This class provides 2 methods for working with AbortController objects in Python programs.
Available methods include: __init__, abort.
All public members are accessible to any Python application after installing the Aspose.Html FOSS for Python package.
Properties: signal.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
signal | AbortSignal | Read | The :class:AbortSignal paired with this controller. |
Methods
| Signature | Description |
|---|---|
__init__() | Calls init on this AbortController instance. |
abort(reason: object) | Signal cancellation with optional reason. |