mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-11-05 00:48:44 +00:00
Remove obsolete initStream event
This commit is contained in:
@@ -3,11 +3,6 @@ import { nanoid } from 'nanoid';
|
|||||||
|
|
||||||
const Stream = new EventEmitter;
|
const Stream = new EventEmitter;
|
||||||
|
|
||||||
// After Stream starts, send initStream event
|
|
||||||
Stream.on('open', ()=>{
|
|
||||||
Stream.emit('sendUpdate', 'initStream', { time: new Date });
|
|
||||||
});
|
|
||||||
|
|
||||||
// Create array of stream subscribers
|
// Create array of stream subscribers
|
||||||
const subscribers = [];
|
const subscribers = [];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user