code: public function triggerUntil(callable $callback, $eventName, $target = null, $argv = [])
      {
          $event = $eventName instanceof EventInterface
              ? $eventName
              : $this->getEvent($eventName, $target, $argv);
  
          return $this->triggerListeners($event, $callback);
      }
docs: Trigger an event, applying a callback to each listener's result
  
  If no event instance is passed, it creates one prior to triggering.
  
  @param callable $callback
  @param EventInterface|string   $eventName
  @param object|string|null     $target
  @param array    $argv
  
  @return \Zend\EventManager\ResponseCollection