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.