mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-08 08:53:51 +00:00
19 lines
371 B
TypeScript
19 lines
371 B
TypeScript
/**
|
|
* Expose possibility to send a message using HTTP protocol
|
|
*/
|
|
export function emitHTTP() {
|
|
console.log('HTTP emit not implemented');
|
|
const payload = preparePayload();
|
|
emit(payload);
|
|
}
|
|
|
|
/** Parses the state and prepares payload to be emitted */
|
|
function preparePayload() {
|
|
return;
|
|
}
|
|
|
|
/** Emits message over transport */
|
|
function emit(_payload) {
|
|
return;
|
|
}
|