@wailsio/runtime
    Preparing search index...

    Interface CancellablePromiseWithResolvers<T>

    Wraps a cancellable promise along with its resolution methods. The oncancelled field will be null initially but may be set to provide a custom cancellation function.

    interface CancellablePromiseWithResolvers<T> {
        oncancelled: CancellablePromiseCanceller | null;
        promise: CancellablePromise<T>;
        reject: CancellablePromiseRejector;
        resolve: CancellablePromiseResolver<T>;
    }

    Type Parameters

    • T
    Index

    Properties

    oncancelled: CancellablePromiseCanceller | null