public static Task<T> ToTask<T>( this IPromise<T> promise, CancellationToken ct = null )
<ExtensionAttribute> Public Shared Function ToTask(Of T) ( promise As IPromise(Of T), Optional ct As CancellationToken = Nothing ) As Task(Of T)