What is the Task equivalent to Promise.then()? What is the Task equivalent to Promise.then()? typescript typescript

What is the Task equivalent to Promise.then()?


I've used ContinueWith which can work if you have one or multiple Tasks running.

example:

public async Task<T> MyAsyncFun() {    T value = await ...    return value;}MyAsyncFun().ContinueWith(...

https://msdn.microsoft.com/en-us/library/dd270696(v=vs.110).aspx