invalidate method

void invalidate()

Invalidates all tokens captured before this call.

Implementation

void invalidate() {
  _generation++;
}