Commit e48809f
authored
Improve Actors documentation (#689)
- Fix the outdated frequenz-channels cross-reference link
- Show inherited members in the API reference
- Use a quote admonition instead of the normal quote
- Use more readable variable names for examples
- Add a note about why we use an async context manager
- Fix numbered list indentation
- Add Lifecycle, Communication and Implementing an Actor sections
- Improve the Example section to host more than one example
- Add an example showing how to receive from multiple channels
- Add section on spawning extra tasks
- Clarify that using channels is not enforced
- Remove detailed documentation from the class (and add links to the
`actor` module documentation)
- Add a section explaining how to initialize an actorFile tree
6 files changed
+505
-158
lines changed- .github/workflows
- src/frequenz/sdk/actor
6 files changed
+505
-158
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
301 | 301 | | |
302 | 302 | | |
303 | 303 | | |
304 | | - | |
| 304 | + | |
305 | 305 | | |
306 | 306 | | |
307 | 307 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
14 | 24 | | |
15 | 25 | | |
16 | 26 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
| 101 | + | |
101 | 102 | | |
102 | 103 | | |
103 | 104 | | |
| |||
107 | 108 | | |
108 | 109 | | |
109 | 110 | | |
110 | | - | |
| 111 | + | |
111 | 112 | | |
112 | 113 | | |
113 | 114 | | |
| |||
0 commit comments