parent
b42069231c
commit
acade9801f
|
@ -556,9 +556,8 @@ async function createProtomuxMessage(aq: ActiveQuery) {
|
||||||
};
|
};
|
||||||
|
|
||||||
aq.setReceiveUpdate?.((data) => {
|
aq.setReceiveUpdate?.((data) => {
|
||||||
if (["send", "destroy"].includes(data.action)) {
|
if (data.action === "send") {
|
||||||
message[data.action](...data.args);
|
message.send(...data.args);
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
defers[data.action]?.resolve(data.args);
|
defers[data.action]?.resolve(data.args);
|
||||||
|
|
Loading…
Reference in New Issue