code: protected void success(T result) {
      this.result = result;
      this.completed = true;
      for (Callback<T, E> callback : toBeNotified) {
        callback.success(result);
      }
    }
docs: Sets a result and status as completed. Notifies all callbacks.