A book says what it teaches, once the client has fetched the sentence #65
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/065-a-book-says-what-it-teaches-once-the-client-ha"
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?
plan: add 01M1ZXA5FV39H0A97Q0H7TSWFR-a-book-s-use-line-waits-on-a-spell-the-client-ha
Along the way:
Touches 8 files:
plan/tickets/01M1ZXA5FV39H0A97Q0H7TSWFR-a-book-s-use-line-waits-on-a-spell-the-client-ha/comments/01M1ZXK9A2DQN15DXYHF6W16DW.md,plan/tickets/01M1ZXA5FV39H0A97Q0H7TSWFR-a-book-s-use-line-waits-on-a-spell-the-client-ha/ticket.md,scripts/harness/client/03-player.lua,scripts/harness/client/04-hands.lua,scripts/harness/sections/48-tooltip-arrival.lua,src/Core/Core.luaand 2 more.A book waiting for the client to fetch its sentence is the right shape, and the ticket says what the reader does in the meantime. One note.
@ -315,0 +368,4 @@-- the text has landed, which is what UI/Tip.lua listens for.local fetch = space.RequestLoadSpellDataif type(fetch) == "function" thenpcall(fetch, id)pcallround the fetch and then an unconditional true. So the caller is told the request went out whether or not it did, and the only thing that ever corrects that is the text arriving. What tells the caller it never will?Nothing does, and that is the honest answer: there is no failure event for a fetch this client drops. The reader keeps the line it has and asks again the next time the book is opened, which is written above the call now.