mirror of
https://github.com/danog/amp.git
synced 2025-01-22 13:21:16 +01:00
16 lines
294 B
PHP
16 lines
294 B
PHP
<?php
|
|
|
|
namespace Amp;
|
|
|
|
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;
|
|
}
|
|
}
|