AbortController

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

NameTypeAccessDescription
signalAbortSignalReadThe :class:AbortSignal paired with this controller.

Methods

SignatureDescription
__init__()Calls init on this AbortController instance.
abort(reason: object)Signal cancellation with optional reason.

See Also