client route main: test new client table fetching method
This commit is contained in:
parent
b1f6a44a6a
commit
42aa571ae5
1 changed files with 4 additions and 2 deletions
|
@ -1,5 +1,7 @@
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
export default function route_main() {
|
export default async function route_main() {
|
||||||
console.log(`The main route`);
|
for await (let item of globalThis.sysquery.table("cpu")) {
|
||||||
|
console.log(`[TABLE] item`, item);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue