public void notify (Object lner, Object value, Object i0, Object i1) { ((SignalView.Listener<Try<Object>>)lner).onEmit((Try<Object>)value); } };
public void notify (Object lner, Object value, Object i0, Object i1) { ((SignalView.Listener<Try<Object>>)lner).onEmit((Try<Object>)value); } };
public void notify (Object slot, Object event, Object _1, Object _2) { ((Listener<Object>)slot).onEmit(event); } };
public void notify (Object slot, Object event, Object _1, Object _2) { ((Listener<Object>)slot).onEmit(event); } };
/** Causes {@code slot} to be notified when this future is completed. If it has already * completed, the slot will be notified immediately. * @return this future for chaining. */ public RFuture<T> onComplete (final SignalView.Listener<? super Try<T>> slot) { Try<T> result = result(); if (result != null) slot.onEmit(result); else addConnection(slot); return this; }
/** Causes {@code slot} to be notified when this future is completed. If it has already * completed, the slot will be notified immediately. * @return this future for chaining. */ public RFuture<T> onComplete (final SignalView.Listener<? super Try<T>> slot) { Try<T> result = result(); if (result != null) slot.onEmit(result); else addConnection(slot); return this; }