cancelled property

bool get cancelled

Whether the running call, or the timeboxed part it is in, was cancelled.

Implementation

static bool get cancelled =>
    (current?._abandoned ?? false) || ((Zone.current[_boxKey] as _Timebox?)?.expired ?? false);