3 namespace seekat\API\Future
;
7 function react() : React2
{
11 function amp() : Amp2
{
15 function any() : Amp2|React2
{
16 if (interface_exists(\Amp\Promise
::class, true)) {
19 if (interface_exists(\React\Promise\PromiseInterface
::class, true)) {
22 throw new \
Exception("Cannot find any promise implementation");