approve method

void approve()

Mark the action as approved — the gate releases it for agent delivery.

Implementation

void approve() {
  if (!_completer.isCompleted) _completer.complete(action);
}