isExpired method

bool isExpired(
  1. int timeout
)

Implementation

bool isExpired(int timeout) => elapsedTime > timeout;