php8.5
Home/ Manual/ parallel / runtime/ parallel\Runtime::close

parallel\Runtime::close

PHP function Edit on GitHub ✎

(0.8.0)

Runtime Graceful Join

Description

parallel\Runtime::close(): void

Shall request that the runtime shutsdown.

Note

Tasks scheduled for execution will be executed before the shutdown occurs.

Exceptions

Warning

Shall throw parallel\Runtime\Error\Closed if Runtime was already closed.

Source: reference/parallel/parallel/runtime/close.xml · from the official PHP manual (php/doc-en)