filo_caspar/api/casparcg/connection.js

5 lines
144 B
JavaScript

import { currentStatus } from './client'
export async function casparConnection(ctx) {
ctx.socket.emit('casparcg.status', currentStatus())
}