checkAlive static method

void checkAlive()

Throws CallAbandoned when the running call, or the timeboxed part it is in, was cancelled.

Implementation

static void checkAlive() {
  if (cancelled) throw CallAbandoned(current?.tool ?? 'step');
}