aa
Some checks failed
test / Run tests (push) Failing after 11s
build / Build (push) Failing after 16s
Some checks failed
test / Run tests (push) Failing after 11s
build / Build (push) Failing after 16s
This commit is contained in:
@ -14,7 +14,6 @@ export class Broker {
|
||||
LoggerCore.getInstance().logger({ service: "messageQueue" }).debug("subscribe", { topic });
|
||||
const con = await this.msg.connect({ action: "messageQueue", data: { action: "subscribe", topic } });
|
||||
con.onMessage((msg: { action: string; topic: string; message: any }) => {
|
||||
console.log(msg);
|
||||
if (msg.action === "message") {
|
||||
handler(msg.message);
|
||||
}
|
||||
|
Reference in New Issue
Block a user