TaskGroup::dispose

(PHP 8.6+, True Async 1.0)

public TaskGroup::dispose(): void

그룹의 내부 스코프에서 dispose()를 호출하여 모든 코루틴을 취소합니다.

참고