1
0
silverbullet/web/syscalls/mq.proxy.ts

14 lines
339 B
TypeScript
Raw Normal View History

2023-08-28 15:12:15 +00:00
import { SysCallMapping } from "../../plugos/system.ts";
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",
]);
}