Release v0.1.2: embedded stdlib, docs, and extension branch policy.
Embed lib/*.mq.md in binary; marqdo version --check; public writeback/subtask pages; restore /vscode-extension/ ignore. VSIX built from branch vscode-extension only (see doc/design/vscode-extension-commit.md). Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
3da7b276d3
commit
2e65c055b8
23 files changed
+469
-53
No files matched your search
@@ -0,0 +1,20 @@
|
||||
---
|
||||
title: lib/subtask — concurrent tasks
|
||||
description: Spawn file, function, or foreign code in parallel
|
||||
> lib/subtask.mq.md
|
||||
---
|
||||
|
||||
# main
|
||||
|
||||
`spawn` picks **one** mode (others default to `None`):
|
||||
|
||||
| Argument | Runs | `wait` returns |
|
||||
|----------|------|----------------|
|
||||
| `path=` | `marqdo run` child process | exit code |
|
||||
| `fn=` + optional `args=` | function in a thread (entry module) | return value |
|
||||
| `code=` | foreign ``` fence ``` subprocess | stdout text |
|
||||
| `lang=` + `source=` | foreign source subprocess | stdout text |
|
||||
|
||||
Also: `poll id=`, `kill id=`, `wait_all`. Parent exit kills file/foreign children.
|
||||
|
||||
> print text=subtask overview ok
|
||||
Reference in new issue
Block a user