![]() |
BSB Developer Docs
|
The loader tracks a "priority" for the currently running application. The canvas HTTP API (POST /api/display/draw) uses this value to decide whether an incoming draw request is allowed to update the display.
Priority scale: STUB (0) – never gates draws; any draw priority beats it. PASSTHROUGH (9) – threshold that admits draws at ≥ DEFAULT (10); canvas empty-canvas check uses strict-less-than. DEFAULT (10) – set on app start; minimum priority for useful draws. MAX_APP (90) – maximum value accepted by loader_set_priority(). MAX / CANVAS_MAX (100) – HTTP API ceiling; values above → 400. BLOCKING (101) – above API ceiling; all HTTP draws rejected.