/// <summary> /// Causes this future to become completed when the specified future is completed. /// </summary> public static void Bind(this IFuture future, IFuture target) { OnComplete handler = (f) => { future.CopyFrom(f); }; target.RegisterOnComplete(handler); }
internal void Abort(IFuture f) { if (_Future != null) { _Future.CopyFrom(f); } Dispose(); }