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