parallel\Runtime::kill
PHP Manual
PHP Manual»parallel\Runtime»parallel\Runtime::kill

parallel\Runtime::kill

(0.8.0)

parallel\Runtime::killRuntime Join

Descrizione

public function parallel\Runtime::kill(): void

Shall attempt to force the runtime to shutdown.

Nota: Tasks scheduled for execution will not be executed, the currently running task shall be interrupted.

Avviso

Internal function calls in progress cannot be interrupted.

Exceptions

Avviso

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

To Top