then<TResult1 = T,TResult2 = never,>(onfulfilled?: ,onrejected?: ,): PromiseLike<TResult1 | TResult2>
Attaches callbacks for the resolution and/or rejection of the Promise.
then<TResult1 = T,TResult2 = never,>(onfulfilled?: ,onrejected?: ,): PromiseLike<TResult1 | TResult2>
Attaches callbacks for the resolution and/or rejection of the Promise.