subprojects/parseq/src/main/java/com/linkedin/parseq/Tasks.java
@Deprecated
  public static Task<Void> action(final String name, final Runnable runnable) {
    return Task.action(name, runnable::run);
  }
@Deprecated
  public static Task<Void> action(final String name, final Runnable runnable) {
    return Task.action(name, runnable::run);
  }
@ Deprecated public static Task < Void > action ( final String name , final Runnable runnable ) { return Task . action ( name , runnable :: run ) ; }
Creates a new {@link Task} that have a value of type Void. Because the
returned task has no value, it is typically used to produce side-effects.

@deprecated  As of 2.0.0, replaced by {@link Task#action(String, com.linkedin.parseq.function.Action) Task.action}
@param name a name that describes the action
@param runnable the action that will be executed when the task is run
@return the new task
@see Task#action(String, com.linkedin.parseq.function.Action) Task.action
Creates a new { @link Task } that have a value of type Void . Because the returned task has no value it is typically used to produce side - effects .