Backend half
This commit is contained in:
+6
@@ -0,0 +1,6 @@
|
||||
export interface StreamingEventStream<Events> extends NodeJS.ReadableStream {
|
||||
on(event: "data", listener: (event: Events) => void): this;
|
||||
on(event: string, listener: Function): this;
|
||||
}
|
||||
|
||||
export type EventStream<Events> = StreamingEventStream<Events> | Events[];
|
||||
Reference in New Issue
Block a user