interrupted method

bool interrupted()

Implementation

bool interrupted() => this == CANCEL || this == ERROR;