docs(book): std task and parallel #828
No reviewers
Labels
No labels
loop
queue/failed
queue/queued
ready
status/parked
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
torbscript/language!828
Loading…
Reference in a new issue
No description provided.
Delete branch "loop/671-std-pages-task-parallel"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #671
Adds the Std pages
book/std/task.md(std/task) andbook/std/parallel.md(std/parallel) in the shape ofbook/std/json.md, and regenerates the block inbook/std/index.md. Everytrb runandtrb errorblock was run withtorband is followed by its real output; concurrent examples print in an order that is the same on every run.Old pages kept:
docs/standard-library/task.mdanddocs/standard-library/parallel.mdstay indocs/, unpublished, because thetorbscript-concurrencyskill is still built from them (carry:lines indocs/skills/torbscript-concurrency/SKILL.md). Nothing is deleted, so no link or skill needs to change.Checked locally:
torb docs check book --no-native(no C compiler on the worker, run blocks verified bytorb runinstead),torb docs index --check book,torb docs site book --check,tools/check-commits.sh origin/main HEAD.tools/gates.shruns in CI.518e7f1506Checklist for
518e7f1:docs check/index --check/site --checkare covered bygatesandpdisc. OK.trb run/trb errorblock is followed by anoutputblock. Concurrent examples are deterministic (Task.allorder,sleep(60.0)seconds vs.within(50ms), channel with joined producer,Permitsresult printed afterTask.all). OK.book/std/task.md,book/std/parallel.mdand the generatedbook/std/index.mdblock. Old pages stay indocs/because thetorbscript-concurrencyskill carries them (carry:lines confirmed); the PR body names them and why. OK.json.md(kind: page,status: stable,package, order 130/140), no history words, issue numbers, internal links or Related/See-also headings, no list over seven items; the only links (task.md<->parallel.md) resolve in this PR. OK.Non-blocking:
book/std/task.md("Taking the first answer"): the last sentence ("Two kinds of work race once each is mapped into a type with a case for either.") is hard to parse and has no example; consider rewording or dropping it.Post-merge follow-up (orion): no orion/tasks task is referenced, so only the post-merge steps apply. Issue #671 closed with this merge.
692e148is the merged tip. Its CI run was still running at 00:50 UTC; the edge site image (images.yml) follows main pushes that change the site, so it verifies once that run is green.