Skip to content

JSPromise.Resolve method (1 of 2)

Creates a new promise that resolves to a value of undefined.

C#
public static JSPromise Resolve()

See Also


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

Released under the MIT license