Class Promise<T>
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<T> : JSObject, IJSObject
Type Parameters
Name | Description |
---|---|
T |
Methods
| Improve this Doc View Sourcethen(Action<T>, Action<Object>)
Declaration
public void then(Action<T> onFulfilled, Action<object> onRejected)
Parameters
Type | Name | Description |
---|---|---|
System.Action<T> | onFulfilled | |
System.Action<System.Object> | onRejected |