chore: formatting

This commit is contained in:
2024-01-17 15:48:30 +00:00
parent aa58ec4185
commit adb9fe5c2e
11 changed files with 56 additions and 54 deletions

View File

@ -47,7 +47,7 @@ export class WorkerRelayInterface {
async summary() {
return await this.#workerRpc<void, Record<string, number>>("summary");
}
#workerRpc<T, R>(cmd: string, args?: T, timeout = 30_000) {
const id = uuid();
const msg = {

View File

@ -30,4 +30,4 @@ export interface ReqFilter {
export function unixNowMs() {
return new Date().getTime();
}
}