subprojects/parseq/src/main/java/com/linkedin/parseq/Tasks.java
@Deprecated
  public static <T> Task<T> withSideEffect(final Task<T> parent, final Task<?> sideEffect) {
    return parent.withSideEffect(t -> sideEffect);
  }
@Deprecated
  public static <T> Task<T> withSideEffect(final Task<T> parent, final Task<?> sideEffect) {
    return parent.withSideEffect(t -> sideEffect);
  }
Creates a task that will run another task as a side effect once the primary task
completes successfully. The side effect will not be run if the primary task fails or
is canceled. The entire task is marked done once the base task completes, even if
the side effect has not been run.

@param parent the primary task.
@param sideEffect the side effect of the primary task.
@param <T> the result value of the parent task, and the resulting task.
@return a new task that will be done once parent completes, but has the given side effect.
@deprecated  As of 2.0.0, replaced by {@link Task#withSideEffect(String, com.linkedin.parseq.function.Function1) Task.withSideEffect}
@see Task#withSideEffect(String, com.linkedin.parseq.function.Function1) Task.withSideEffect