mirror of
https://github.com/danog/amp.git
synced 2024-11-27 04:24:42 +01:00
18 lines
351 B
PHP
18 lines
351 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Amp;
|
|
|
|
/**
|
|
* Observable implementation that should not be returned from a public API, but used only internally.
|
|
*/
|
|
final class Producer implements Observable {
|
|
use Internal\Producer {
|
|
init as public __construct;
|
|
emit as public;
|
|
resolve as public;
|
|
fail as public;
|
|
}
|
|
}
|