JSPromise.Reject method
Creates a new promise that is rejected with the provided reason.
C#
public static JSPromise Reject(JSValue reason)
See Also
- struct JSValue
- struct JSPromise
- namespace Microsoft.JavaScript.NodeApi