1
0
mirror of https://github.com/danog/parallel.git synced 2024-12-03 18:17:52 +01:00
parallel/lib/Sync/Internal/ExitStatus.php

13 lines
326 B
PHP
Raw Normal View History

2016-08-22 06:40:48 +02:00
<?php declare(strict_types = 1);
2015-08-07 01:59:25 +02:00
2016-08-23 23:47:40 +02:00
namespace Amp\Parallel\Sync\Internal;
2016-08-18 18:04:48 +02:00
interface ExitStatus {
2015-08-07 01:59:25 +02:00
/**
* @return mixed Return value of the callable given to the execution context.
*
2016-08-23 23:47:40 +02:00
* @throws \Amp\Parallel\PanicError If the context exited with an uncaught exception.
2015-08-07 01:59:25 +02:00
*/
public function getResult();
}