components/src/main/java/eu/internetofus/common/components/interaction_protocol_engine/WeNetInteractionProtocolEngine.java
/**
   * Merge the state of the user on a task.
   *
   * @param taskId   identifier of the task where is the user.
   * @param userId   identifier of the user to get the state.
   * @param newState for the user in the task.
   *
   * @return the future task user state.
   */
Merge the state of the user on a task.
@param taskId   identifier of the task where is the user.
@param userId   identifier of the user to get the state.
@param newState for the user in the task.

@return the future task user state.
Merge the state of the user on a task . @param taskId identifier of the task where is the user . @param userId identifier of the user to get the state . @param newState for the user in the task . @return the future task user state .
@GenIgnore
  default Future<State> mergeTaskUserState(@NotNull final String taskId, @NotNull final String userId,
      @NotNull final State newState) {
    final Promise<JsonObject> promise = Promise.promise();
    this.mergeTaskUserState(taskId, userId, newState.toJsonObject(), promise);
    return Model.fromFutureJsonObject(promise.future(), State.class);
  }
@ GenIgnore default Future < State > mergeTaskUserState ( @ NotNull final String taskId , @ NotNull final String userId , @ NotNull final State newState ) { final Promise < JsonObject > promise = Promise . promise ( ) ; this . mergeTaskUserState ( taskId , userId , newState . toJsonObject ( ) , promise ) ; return Model . fromFutureJsonObject ( promise . future ( ) , State . class ) ; }
Merge the state of the user on a task.
Merge the state of the user on a task .