deployable.settle_unrun
Route waits for follow-on work its deployable doesn't run.
Area 14, Tools; not declinable; the next step is usually the agent's.
A route with settle: waits for the subscribers of what its action
emits, so the deployable that serves it runs them. The notes board waits
for each note to be pinned up:
use board/types { NewNote, NoteView }use board/actions { add_note }use board/queries { note_for }/// The notes board.routes Notes { prefix: /notes /// Adds a note, once it is pinned up. POST / { authentication: RouteAuthentication.none input: NewNote output: NoteView status: SuccessStatus.created run: add_note(input) settle: { answer: note_for(result.id) within: 2s } }}
and the kiosk serves it, while the worker runs the subscribers:
application { deployables: { kiosk: { serves: [main] target: Target.native } worker: { runs: [Trigger.subscribers] target: Target.native } }}
error POST /notes waits for follow-on work kiosk doesn't run
--> app.jadpo:3:9
|3 | kiosk: { | ^^^^^ doesn't run subscribers
- reason
POST /notesinmainhassettle:, so it waits for the subscribers of what its action emits, and a deployable runs them only when itsruns:listsTrigger.subscribers.- next
- Add
Trigger.subscriberstokiosk'sruns:(agent) - rule
- deployable.
settle_ unrun - help
- https://jadpo.
dev/docs/errors/deployable. settle_ unrun
Markdown for agents: /docs/errors/deployable.settle_unrun.md.Built from Jadpo main at aee2e8f.