public class FutureHelper extends Object
| Constructor and Description |
|---|
FutureHelper() |
| Modifier and Type | Method and Description |
|---|---|
static void |
copyHandlers(HttpConnectionFuture sourceFuture,
SignalRFuture<?> targetFuture)
Copy the Cancellation and Error handlers between two SignalRFuture
instances, where the source is an HttpConnectionFuture
|
static void |
copyHandlers(SignalRFuture<?> sourceFuture,
SignalRFuture<?> targetFuture)
Copy the Cancellation and Error handlers between two SignalRFuture
instances
|
public static void copyHandlers(SignalRFuture<?> sourceFuture, SignalRFuture<?> targetFuture)
sourceFuture - The source futuretargetFuture - The target futurepublic static void copyHandlers(HttpConnectionFuture sourceFuture, SignalRFuture<?> targetFuture)
sourceFuture - The source futuretargetFuture - The target futureCopyright © 2019. All rights reserved.