Skip to content

TaskExtensions.AsTask method (1 of 4)

C#
public static Task<JSValue> AsTask(this JSPromise promise)

See Also


TaskExtensions.AsTask method (2 of 4)

C#
public static Task<JSValue> AsTask(this JSPromise promise, CancellationToken cancellation)

See Also


TaskExtensions.AsTask<T> method (3 of 4)

C#
public static Task<T> AsTask<T>(this JSPromise promise, To<T> fromJS)

See Also


TaskExtensions.AsTask<T> method (4 of 4)

C#
public static Task<T> AsTask<T>(this JSPromise promise, To<T> fromJS, 
    CancellationToken cancellation)

See Also

Released under the MIT license