TrueAsync
  • Accueil
  • Documentation
  • Telecharger
  • RFC
  • Motivation
  • Architecture
  • Contribuer
EnglishРусскийDeutschFrançaisEspañolItalianoУкраїнська中文한국어

TaskGroup::isFinished

Verifier si toutes les taches sont terminees.

Premiers pas
Introduction Pourquoi l'asynchronisme ?
Configuration
Paramètres INI
Composants
Coroutine
Scope
Channels
Future
Context
Cancellation Coroutines zombies Exceptions Interfaces
Async\Pool
PDO Pool
TaskGroup
__construct()spawn()spawnWithKey()awaitCompletion()cancel()dispose()finally()seal()isFinished()isSealed()count()getResults()getErrors()getIterator()suppressErrors()all()any()race()
TaskSet
FileSystemWatcher
Thread
ThreadChannel
ThreadPool
Reference des fonctions
Fonctions supportees spawn() spawn_with() await() await_all_or_fail() await_all() await_any_or_fail() await_first_success() await_any_of_or_fail() await_any_of() iterate() suspend() delay() timeout() protect() current_coroutine() current_context() coroutine_context() root_context() get_coroutines() signal() graceful_shutdown()
Intégrations
FrankenPHP
Recherche
IO-Bound vs CPU-bound Pourquoi les coroutines fonctionnent Statistiques de concurrence Swoole en pratique Python asyncio

TaskGroup::isFinished ​

(PHP 8.6+, True Async 1.0)

php
public TaskGroup::isFinished(): bool

Retourne true si la file d'attente est vide et qu'il n'y a pas de coroutines actives.

Cet etat peut etre temporaire : si le groupe n'est pas scelle, de nouvelles taches peuvent encore etre ajoutees.

Voir aussi ​

  • TaskGroup::isSealed --- Verifier si le groupe est scelle
  • TaskGroup::awaitCompletion --- Attendre la fin
Modifier cette page
TrueAsync

De veritables primitives asynchrones pour PHP

Projet

  • Accueil
  • Documentation
  • Telecharger
  • Roadmap

Communaute

  • GitHub
  • Problemes
  • Discussions
  • Discord

Ressources

  • Premiers pas
  • Reference API
  • Exemples
© 2025–2026 TrueAsync. Publie sous licence MIT.