1
0
mirror of https://github.com/danog/amp.git synced 2024-11-27 12:35:02 +01:00
amp/lib/Observable.php
Aaron Piotrowski a9362780ed Initial commit
2016-05-24 11:47:14 -05:00

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();
}