@ac-essentials/misc-util
    Preparing search index...

    Class AbortablePromise<T>

    Type Parameters

    • T

    Implements

    • Promise<T>
    Index

    Constructors

    Properties

    Accessors

    Methods

    Constructors

    Properties

    Accessors

    Methods

    • Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The resolved value cannot be modified from the callback.

      Parameters

      • Optionalonfinally: null | PromiseOnFinally

        The callback to execute when the Promise is settled (fulfilled or rejected).

      Returns Promise<T>

      A Promise for the completion of the callback.