@nativescript-community/ui-massifmaps
    Preparing search index...

    Interface CancellablePromise<T>

    Cancelling cannot abort a call already running (SDK load paths take no cancellation token): it finishes and the result is dropped. Either way the promise rejects.

    interface CancellablePromise<T> {
        cancel(): boolean;
    }

    Type Parameters

    • T

    Hierarchy

    • Promise<T>
      • CancellablePromise
    Index

    Methods

    Methods

    • Returns boolean