@legumeinfo/web-components
    Preparing search index...

    Class LisCancelPromiseController

    A controller that allows Promises to be cancelled.

    Note that all Promises made cancellable with this controller are cancelled with the same AbortSignal. Multiple instances of the controller should be used if multiple signals are desired.

    Implements

    • ReactiveController
    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    abortSignal: AbortSignal

    The abort signal that will cause the wrapped promises to cancel. This signal can be used externally.

    Methods