/** * Get any exceptions thrown by the threads. * * @return \Throwable[] */ public function getExceptions() : array { return $this->memory->getExceptions(); }