Commit 27cc8ad
Wire the automated polling trigger to the poll it opens
The three snippets in this file demonstrated the pieces of a poll service
separately, so the trigger handler only logged and never opened a poll. The
tutorial that embeds them describes one running service, which left the page
claiming output the code could not produce.
Reorder the file so the poll template and the cooldown guard come first, then
have the trigger handler call them. The cooldown guard now logs when it blocks
a trigger, which is the case the tutorial asks the reader to observe.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>1 parent fe1a5e7 commit 27cc8ad
1 file changed
Lines changed: 18 additions & 17 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | 9 | | |
24 | 10 | | |
25 | 11 | | |
| |||
67 | 53 | | |
68 | 54 | | |
69 | 55 | | |
70 | | - | |
71 | | - | |
72 | 56 | | |
73 | 57 | | |
74 | 58 | | |
| |||
79 | 63 | | |
80 | 64 | | |
81 | 65 | | |
| 66 | + | |
82 | 67 | | |
83 | 68 | | |
84 | 69 | | |
85 | 70 | | |
86 | 71 | | |
87 | 72 | | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
88 | 77 | | |
89 | | - | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
90 | 91 | | |
0 commit comments