Skip to content

TaskExtensions.AsPromise method (1 of 6)

C#
public static JSPromise AsPromise(this Task task)

See Also


TaskExtensions.AsPromise method (2 of 6)

C#
public static JSPromise AsPromise(this Task<JSValue> task)

See Also


TaskExtensions.AsPromise method (3 of 6)

C#
public static JSPromise AsPromise(this ValueTask task)

See Also


TaskExtensions.AsPromise method (4 of 6)

C#
public static JSPromise AsPromise(this ValueTask<JSValue> task)

See Also


TaskExtensions.AsPromise<T> method (5 of 6)

C#
public static JSPromise AsPromise<T>(this Task<T> task, From<T> toJS)

See Also


TaskExtensions.AsPromise<T> method (6 of 6)

C#
public static JSPromise AsPromise<T>(this ValueTask<T> task, From<T> toJS)

See Also

Released under the MIT license