View source

class thx.promise.PromiseTuple2

import thx.promise.Promise;

Available on all platforms

Class Fields

static function join<T1, T2, T3>(p1:Promise<Tuple2<T1, T2>>, p2:Promise<T3>):Promise<Tuple3<T1, T2, T3>>

static function mapTuple<T1, T2, TOut>(promise:Promise<Tuple2<T1, T2>>, success:T1 -> T2 -> TOut):Promise<TOut>

static function mapTuplePromise<T1, T2, TOut>(promise:Promise<Tuple2<T1, T2>>, success:T1 -> T2 -> Promise<TOut>):Promise<TOut>

static function tuple<T1, T2>(promise:Promise<Tuple2<T1, T2>>, success:T1 -> T2 -> Void, ?failure:Error -> Void):Promise<Tuple2<T1, T2>>

Toggle inherited fields