staticjoin<T2> (p1:Promise<Nil>, p2:Promise<T2>):Promise<T2>
staticnil<A> (p:Promise<A>):Promise<Nil>