The containing class is available as Network\Server in the www repository.
Network\Server
Retrieve the next pending connection as a disposable
public function nextConnectionAsync(): Awaitable<TSock>;
Will wait for new connections if none are pending.
Awaitable<TSock>