Skip to content

JSPromise.Then method

Registers callbacks that are invoked when a promise is fulfilled and/or rejected, and returns a new chained promise.

C#
public JSPromise Then(Func<JSValue, JSValue>? fulfilled, Func<JSError, JSValue>? rejected = null)

See Also

Released under the MIT license