Php/docs/parallel-runtime.close

From Get docs

parallel\Runtime::close

(0.8.0)

parallel\Runtime::closeRuntime Graceful Join


Description

public 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.