14 lines
339 B
TypeScript
14 lines
339 B
TypeScript
|
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",
|
||
|
]);
|
||
|
}
|