Commit 57dc67b
feat(realtime): add managed-ticker API to RealtimeHandler type
Add protected tickIntervalMs + optional shouldTick() so handlers get types for
the platform-managed tick loop (implemented in the deployed shim). Opting in
means no more startLoop/stopLoop bookkeeping in the handler.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent d9732eb commit 57dc67b
1 file changed
Lines changed: 13 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
37 | 50 | | |
38 | 51 | | |
39 | 52 | | |
| |||
0 commit comments