filo_caspar/api/casparcg/connection.mjs

5 lines
148 B
JavaScript

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