client route main: test new client table fetching method

This commit is contained in:
Starbeamrainbowlabs 2022-02-25 03:23:21 +00:00
parent b1f6a44a6a
commit 42aa571ae5
Signed by: sbrl
GPG key ID: 1BE5172E637709C2

View file

@ -1,5 +1,7 @@
"use strict";
export default function route_main() {
console.log(`The main route`);
export default async function route_main() {
for await (let item of globalThis.sysquery.table("cpu")) {
console.log(`[TABLE] item`, item);
}
}