Table of Contents

Class Promise

Namespace
CSharpToJavaScript.APIs.JS.Ecma
Assembly
CSharpToJavaScript.dll
[To("Default")]
public class Promise : PromisePrototype
Inheritance
Promise
Inherited Members

Constructors

Promise(Action)

public Promise(Action executor)

Parameters

executor Action

Properties

Prototype

[To("FirstCharToLowerCase")]
public static PromisePrototype Prototype { get; }

Property Value

PromisePrototype

Methods

All(Array)

[To("FirstCharToLowerCase")]
public static Promise All(Array iterable)

Parameters

iterable Array

Returns

Promise

AllSettled(Array)

[To("FirstCharToLowerCase")]
public static Promise AllSettled(Array iterable)

Parameters

iterable Array

Returns

Promise

Any(Array)

[To("FirstCharToLowerCase")]
public static Promise Any(Array iterable)

Parameters

iterable Array

Returns

Promise

Race(Array)

[To("FirstCharToLowerCase")]
public static Promise Race(Array iterable)

Parameters

iterable Array

Returns

Promise

Reject(dynamic)

[To("FirstCharToLowerCase")]
public static Promise Reject(dynamic r)

Parameters

r dynamic

Returns

Promise

Resolve(dynamic)

[To("FirstCharToLowerCase")]
public static Promise Resolve(dynamic x)

Parameters

x dynamic

Returns

Promise