Lines
n/a
0 / 0
Functions and Methods
n/a
0 / 0
Classes and Traits
n/a
0 / 0
| Name | Lines | Functions and Methods | CRAP | Classes and Traits | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| 1 | <?php | |
| 2 | ||
| 3 | declare(strict_types=1); | |
| 4 | ||
| 5 | namespace Stewart\Runtime\Broker; | |
| 6 | ||
| 7 | use Amp\Cancellation; | |
| 8 | use Stewart\Runtime\Model\WorkerId; | |
| 9 | ||
| 10 | interface WorkerSpawner | |
| 11 | { | |
| 12 | public function spawn(WorkerId $workerId, Cancellation $deadline): WorkerProcess; | |
| 13 | } |