hasAsync property
bool
get
hasAsync
Returns true if the pipeline contains any async step. When true,
the synchronous consumers (parse, validate, safeParse, errors)
throw VAsyncRequiredException and the caller must use the *Async
variants instead.
Implementation
bool get hasAsync =>
_asyncPreprocessors.isNotEmpty ||
_steps.any((s) => s is _AsyncValidatorStep<T>);