phantasmal-world/src/core/observable/Emitter.ts

6 lines
139 B
TypeScript
Raw Normal View History

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