public static < T > void propagateResult ( final Promise < T > source , final Settable < T > dest ) { source . addListener ( new TransformingPromiseListener < T , T > ( dest , PromiseTransformer . identity ( ) ) ) ; }
Copies the value or error from the source promise to the destination promise .