mirror of
https://github.com/danog/amp.git
synced 2024-11-27 12:35:02 +01:00
18 lines
326 B
PHP
18 lines
326 B
PHP
<?php
|
|
|
|
namespace Amp;
|
|
|
|
interface Observable
|
|
{
|
|
/**
|
|
* @return \Amp\ObservableIterator
|
|
*/
|
|
public function getIterator();
|
|
|
|
/**
|
|
* Disposes of the observable, halting emission of values and failing the observable with an instance of
|
|
* \Amp\DisposedException.
|
|
*/
|
|
public function dispose();
|
|
}
|