mirror of
https://github.com/danog/amp.git
synced 2024-11-30 04:29:08 +01:00
16 lines
304 B
PHP
16 lines
304 B
PHP
<?php
|
|
|
|
namespace Amp\Awaitable;
|
|
|
|
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;
|
|
}
|
|
}
|