Class Promise
Implements
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: TypeScriptDefinitionsSupport
Assembly: OpenSilver.dll
Syntax
public class Promise : JSObject, IJSObject
Methods
| Improve this Doc View Sourcethen(Action, Action<Object>)
Declaration
public void then(Action onFulfilled, Action<object> onRejected)
Parameters
Type | Name | Description |
---|---|---|
System.Action | onFulfilled | |
System.Action<System.Object> | onRejected |