TaskExtensions.AsValueTask method (1 of 4)
C#
public static ValueTask<JSValue> AsValueTask(this JSPromise promise)
See Also
- struct JSValue
- struct JSPromise
- class TaskExtensions
- namespace Microsoft.JavaScript.NodeApi
TaskExtensions.AsValueTask method (2 of 4)
C#
public static ValueTask<JSValue> AsValueTask(this JSPromise promise, CancellationToken cancellation)
See Also
- struct JSValue
- struct JSPromise
- class TaskExtensions
- namespace Microsoft.JavaScript.NodeApi
TaskExtensions.AsValueTask<T> method (3 of 4)
C#
public static ValueTask<T> AsValueTask<T>(this JSPromise promise, To<T> fromJS)
See Also
- struct JSPromise
- delegate To<T>
- class TaskExtensions
- namespace Microsoft.JavaScript.NodeApi
TaskExtensions.AsValueTask<T> method (4 of 4)
C#
public static ValueTask<T> AsValueTask<T>(this JSPromise promise, To<T> fromJS,
CancellationToken cancellation)
See Also
- struct JSPromise
- delegate To<T>
- class TaskExtensions
- namespace Microsoft.JavaScript.NodeApi