You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
session-desktop/ts/session/instance.ts

13 lines
240 B
TypeScript

import { MessageQueue } from './sending/';
let messageQueue: MessageQueue;
function getMessageQueue(): MessageQueue {
if (!messageQueue) {
messageQueue = new MessageQueue();
}
return messageQueue;
}
export { getMessageQueue };