2024-02-09 04:00:45 +08:00
|
|
|
import { SysCallMapping } from "../../lib/plugos/system.ts";
|
2023-08-28 23:12:15 +08:00
|
|
|
import { Client } from "../client.ts";
|
|
|
|
import { proxySyscalls } from "./util.ts";
|
|
|
|
|
|
|
|
export function mqProxySyscalls(client: Client): SysCallMapping {
|
|
|
|
return proxySyscalls(client, [
|
|
|
|
"mq.send",
|
|
|
|
"mq.batchSend",
|
|
|
|
"mq.ack",
|
|
|
|
"mq.batchAck",
|
|
|
|
"mq.getQueueStats",
|
|
|
|
]);
|
|
|
|
}
|