1
0
mirror of https://github.com/danog/amp.git synced 2025-01-23 05:41:25 +01:00
amp/lib/Future.php

16 lines
294 B
PHP
Raw Normal View History

2016-05-21 09:44:52 -05:00
<?php
2016-05-23 22:48:28 -05:00
namespace Amp;
2016-05-21 09:44:52 -05:00
use Interop\Async\Awaitable;
/**
* Awaitable implementation that should not be returned from a public API, but used only internally.
*/
final class Future implements Awaitable {
use Internal\Placeholder {
resolve as public;
fail as public;
}
}