11 lines
606 B
JavaScript
11 lines
606 B
JavaScript
import RedisPubSub from '/imports/startup/server/redis';
|
|
import handleWhiteboardCleared from './handlers/whiteboardCleared';
|
|
import handleWhiteboardUndo from './handlers/whiteboardUndo';
|
|
import handleWhiteboardSend from './handlers/whiteboardSend';
|
|
import handleWhiteboardAnnotations from './handlers/whiteboardAnnotations';
|
|
|
|
RedisPubSub.on('ClearWhiteboardEvtMsg', handleWhiteboardCleared);
|
|
RedisPubSub.on('UndoWhiteboardEvtMsg', handleWhiteboardUndo);
|
|
RedisPubSub.on('SendWhiteboardAnnotationEvtMsg', handleWhiteboardSend);
|
|
RedisPubSub.on('GetWhiteboardAnnotationsRespMsg', handleWhiteboardAnnotations);
|