Skip to content

JSPromise.Reject method

Creates a new promise that is rejected with the provided reason.

C#
public static JSPromise Reject(JSValue reason)

See Also

Released under the MIT license