Function unpackPromise

  • Obtains and splits a promise into its individual then, catch, and finally components, already bound and ready to be destructured.

    Parameters

    • thenable: any

    Returns {
        catch: any;
        finally: any;
        then: any;
    }

    • catch: any
    • finally: any
    • then: any

Generated using TypeDoc