TaskCancelPredicate typedef

TaskCancelPredicate = bool Function(Object error)

Returns whether an error should be displayed as a cancellation.

Implementation

typedef TaskCancelPredicate = bool Function(Object error);