acquire method

bool acquire()

Claims one of the InteractionLimits.maxActive capture slots.

Implementation

bool acquire() {
  if (_active >= limits.maxActive) return false;
  _active++;
  return true;
}