getPromiseIndex

abstract fun getPromiseIndex(): Double?(source)

returns the index of the promise element that was followed in Promise.all() or Promise.any() for async stack traces, or null if the CallSite is not an async