runJobs

tcmts.server.runJobs · #k2ei7x5g · term · runs on the server

uses #tcm/host (runJobs)

For tests: run the queued jobs that are due (all of them with { all: true }), inline.

import { runJobs as hostRunJobs } from "#tcm/host";

export function runJobs(opts: { all?: boolean } = {}): Promise<{ done: number; failed: number }> {
  return hostRunJobs(opts);
}

used by