then abstract method

ITask<C> then(
  1. ITask<C> next
)

Sequentially chain another task. The next task must accept the same context type.

Implementation

ITask<C> then(ITask<C> next);