mirror of
https://github.com/danog/amp.git
synced 2025-01-22 21:31:18 +01:00
15 lines
316 B
PHP
15 lines
316 B
PHP
<?php
|
|
|
|
namespace Amp;
|
|
|
|
use Interop\Async\Awaitable;
|
|
|
|
/**
|
|
* Objects returned from \Amp\Observable::subscribe() implement this interface.
|
|
*/
|
|
interface Disposable extends Awaitable {
|
|
/**
|
|
* Disposes of the subscriber, failing with an instance of \Amp\DisposedException
|
|
*/
|
|
public function dispose();
|
|
} |