Class PromiseHelpers
Inheritance
System.Object
PromiseHelpers
Namespace: RSG
Syntax
public static class PromiseHelpers
Methods
All<T1, T2>(IPromise<T1>, IPromise<T2>)
Returns a promise that resolves with all of the specified promises have resolved.
Returns a promise of a tuple of the resolved results.
Declaration
public static IPromise<Tuple<T1, T2>> All<T1, T2>(IPromise<T1> p1, IPromise<T2> p2)
Parameters
Returns
Type Parameters
All<T1, T2, T3>(IPromise<T1>, IPromise<T2>, IPromise<T3>)
Returns a promise that resolves with all of the specified promises have resolved.
Returns a promise of a tuple of the resolved results.
Declaration
public static IPromise<Tuple<T1, T2, T3>> All<T1, T2, T3>(IPromise<T1> p1, IPromise<T2> p2, IPromise<T3> p3)
Parameters
Returns
Type Parameters
Name |
Description |
T1 |
|
T2 |
|
T3 |
|
All<T1, T2, T3, T4>(IPromise<T1>, IPromise<T2>, IPromise<T3>, IPromise<T4>)
Returns a promise that resolves with all of the specified promises have resolved.
Returns a promise of a tuple of the resolved results.
Declaration
public static IPromise<Tuple<T1, T2, T3, T4>> All<T1, T2, T3, T4>(IPromise<T1> p1, IPromise<T2> p2, IPromise<T3> p3, IPromise<T4> p4)
Parameters
Returns
Type Parameters
Name |
Description |
T1 |
|
T2 |
|
T3 |
|
T4 |
|