mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-11-04 22:38:43 +00:00
Remove obsolete initStream event
This commit is contained in:
@@ -3,11 +3,6 @@ import { nanoid } from 'nanoid';
|
||||
|
||||
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
|
||||
const subscribers = [];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user