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

TaskGroup::isClosed

Check if the group is closed.

Getting Started
Introduction Why Asynchrony?
Configuration
INI Settings
Components
Coroutine
Scope
Channels
Future
Context
Cancellation Zombie Coroutines Exceptions Interfaces
Async\Pool
PDO Pool
TaskGroup
__construct()spawn()spawnWithKey()awaitCompletion()cancel()dispose()finally()close()isFinished()isClosed()count()getResults()getErrors()getIterator()suppressErrors()all()any()race()
TaskSet
FileSystemWatcher
Thread
ThreadChannel
ThreadPool
Function Reference
Supported Functions 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() request_context() get_coroutines() available_parallelism() cpu_usage() CpuSnapshot loadavg() signal() graceful_shutdown()
TrueAsync Server
Overview Quick start Configuration Compression Static and sendFile Streaming Multi-worker Examples
HttpServer
Integrations
FrankenPHP
Research
IO-Bound vs CPU-bound Why Coroutines Work Concurrency Statistics Swoole in Practice Python asyncio

TaskGroup::isClosed ​

(PHP 8.6+, True Async 1.0)

php
public TaskGroup::isClosed(): bool

Returns true after close() or cancel() has been called.

See Also ​

  • TaskGroup::close --- Close the group
  • TaskGroup::isFinished --- Check if finished
Edit this page
TrueAsync

True asynchronous programming for PHP. Built into the language core.

Project

  • Home
  • Documentation
  • Download
  • Roadmap

Community

  • GitHub
  • Issues
  • Discussions
  • Discord

Resources

  • Getting Started
  • API Reference
  • Examples
© 2025–2026 TrueAsync. MIT License.