\Psc\Library\System\ProcessRuntime

Summary

Methods
Properties
Constants
__construct()
stop()
kill()
signal()
getPromise()
getProcessId()
then()
except()
finally()
await()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$promise
$processId
N/A

Properties

$promise

$promise : \Psc\Core\Coroutine\Promise

Type

Promise

$processId

$processId : int

Type

int

Methods

__construct()

__construct(\Psc\Core\Coroutine\Promise  $promise, int  $processId) : mixed

Parameters

\Psc\Core\Coroutine\Promise $promise
int $processId

Returns

mixed —

stop()

stop(bool  $force = false) : void

Parameters

bool $force

kill()

kill() : void

signal()

signal(int  $signal) : void

Parameters

int $signal

getPromise()

getPromise() : \Psc\Core\Coroutine\Promise

Returns

\Psc\Core\Coroutine\Promise —

getProcessId()

getProcessId() : int

Returns

int —

then()

then(\Closure  $then) : \Psc\Core\Coroutine\Promise

Parameters

\Closure $then

Returns

\Psc\Core\Coroutine\Promise —

except()

except(\Closure  $catch) : \Psc\Core\Coroutine\Promise

Parameters

\Closure $catch

Returns

\Psc\Core\Coroutine\Promise —

finally()

finally(\Closure  $finally) : \Psc\Core\Coroutine\Promise

Parameters

\Closure $finally

Returns

\Psc\Core\Coroutine\Promise —

await()

await() : mixed

Returns

mixed —