destack.sh
docstemplatesblog
Language
  1. Setup
  2. TypeScript
  3. TypeScript++
  4. Runtime
  5. Standard Library
  6. Web
  7. Node
  8. Systems
  9. Modules
  10. destack:worker
  11. spawn
  12. Configuration
  13. Static Analysis
  14. Dynamic Analysis
  15. Deployment
menu
Language
  1. Setup
  2. TypeScript
  3. TypeScript++
  4. Runtime
  5. Standard Library
  6. Web
  7. Node
  8. Systems
  9. Modules
  10. destack:worker
  11. spawn
  12. Configuration
  13. Static Analysis
  14. Dynamic Analysis
  15. Deployment
Docs/Language/Standard Library/Modules/destack:worker
mdtxt

spawn

import { spawn } from "destack:worker";

Spawn one worker.

language/library/src/worker/worker.ds:80:85
1export function spawn<T: SharedSafe, R: SharedSafe>(entry: WorkerEntry<shared T, shared R>, options?: WorkerOptions | undefined): Worker<shared T, shared R>
discordxgithub
2026.8.3alpha