Class Promise<T>