API reference › @evolu/common › Task › NextTask
type NextTask<T, E, DoneValue, Deps> = Task<T, E | Done<DoneValue>, Deps>;
Defined in: packages/common/src/Task.ts:902
A Task that can return a value, signal done, or return a Result error.
Use for pull-based protocols where Done<D> signals normal completion rather than an error.