Skip to content

TaskExtensions.AsValueTask method (1 of 4)

C#
public static ValueTask<JSValue> AsValueTask(this JSPromise promise)

See Also


TaskExtensions.AsValueTask method (2 of 4)

C#
public static ValueTask<JSValue> AsValueTask(this JSPromise promise, CancellationToken cancellation)

See Also


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

C#
public static ValueTask<T> AsValueTask<T>(this JSPromise promise, To<T> fromJS)

See Also


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

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

See Also

Released under the MIT license