phantasmal-world/src/core/observable/Emitter.ts
2019-08-21 17:56:46 +02:00

6 lines
139 B
TypeScript

import { Observable } from "./Observable";
export interface Emitter<E, M> extends Observable<E, M> {
emit(event: E, meta: M): void;
}