wasCancelled property
EXPERIMENTAL When true, indicates that this response was sent due to receiving a cancel request. The exit_code and output fields should be empty and will be ignored. Exactly one WorkResponse must be sent for each non-cancelling WorkRequest received by the worker, but if the worker received a cancel request, it doesn't matter if it replies with a regular WorkResponse or with one where was_cancelled = true.
Implementation
@$pb.TagNumber(4)
$core.bool get wasCancelled => $_getBF(3);
Implementation
@$pb.TagNumber(4)
set wasCancelled($core.bool v) {
$_setBool(3, v);
}