2019-08-21 21:19:44 +08:00
|
|
|
import { Disposable } from "./Disposable";
|
2019-08-20 04:56:40 +08:00
|
|
|
|
2019-08-21 21:19:44 +08:00
|
|
|
export interface Observable<E, M = undefined> {
|
|
|
|
observe(observer: (event: E, meta: M) => void): Disposable;
|
2019-08-20 04:56:40 +08:00
|
|
|
}
|