on 66e9727 help sign in
33 lines 836 B history raw
1+++
2title = "Examples"
3weight = 30
4sort_by = "weight"
5template = "sections/docs/chapters.html"
6insert_anchor_links = "right"
7+++
9Collection of how-tos and examples for threads.
11## [Fetch JSON](@/docs/userspace/threads/examples/get-json.md)
13Get some JSON from an external website.
15## [Child Thread](@/docs/userspace/threads/examples/child-thread.md)
17Spawn and manage threads from within threads.
19## [Main-loop](@/docs/userspace/threads/examples/main-loop.md)
21Create a loop - useful for long-running threads and for trying the same input against multiple functions.
23## [Poke Agent](@/docs/userspace/threads/examples/poke-agent.md)
25Poke an agent from a thread.
27## [Scry](@/docs/userspace/threads/examples/scry.md)
29Scry example.
31## [Take Fact](@/docs/userspace/threads/examples/take-fact.md)
33Take a fact from arvo or an agent.