PYAE1994's picture
feat(phase4): Persistent Workflow OS v4.0.0 — queue + checkpoint + workspace memory
cf47145 verified
import { promise as queueAsPromised } from './queue.js'
const queue = queueAsPromised(worker, 1)
console.log('the result is', await queue.push(42))
async function worker (arg) {
return 42 * 2
}