JSPromise.Resolve method (1 of 2)
Creates a new promise that resolves to a value of undefined
.
C#
public static JSPromise Resolve()
See Also
- struct JSPromise
- namespace Microsoft.JavaScript.NodeApi
JSPromise.Resolve method (2 of 2)
Creates a new promise that resolves to the provided value.
C#
public static JSPromise Resolve(JSValue value)
See Also
- struct JSValue
- struct JSPromise
- namespace Microsoft.JavaScript.NodeApi