{"version":"v1.0","client_state":{"Studio.default":{"fields":{"primary":"#682747","secondary":"#3a52b0","success":"#2f9e64","warning":"#f0a91b","error":"#e5484d","info":"#0e9bc4","background":"#fafafa","surface":"#ffffff","interface":"#f0f0f1","text":"#171717","muted":"#6b6b6e","d_primary":"#682747","d_secondary":"#3a52b0","d_success":"#2f9e64","d_warning":"#f0a91b","d_error":"#e5484d","d_info":"#0e9bc4","d_background":"#0a0a0a","d_surface":"#151515","d_interface":"#212121","d_text":"#f5f5f5","d_muted":"#a0a0a3","spacing":0.1875,"box":0.75,"field_":0.75,"selector":0.375,"stroke":1.0,"font":"ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'"},"persist":"local","send_to_server":true},"ColorScheme.default":{"fields":{"mode":"system"},"persist":"local","send_to_server":true},"Live.default":{"fields":{"on":true},"persist":"memory","send_to_server":true},"Resend.default":{"fields":{"left":30},"persist":"memory","send_to_server":true}},"endpoints":{"action":"/_bretzel/action","sse":"/_bretzel/sse","refetch":"/_bretzel/refetch"},"csrf":"0b5b6d5c8050857456da1de2ed0d70b3","page_id":"42c51c50de4e437ab541805ca44958e2","address":""}
ui.interval

Interval

An invisible timer that calls Python every few seconds — pausable from the browser, stopped for free when the tab closes.

A world clock

Every second the browser calls tick(); the state changes and only the clock zone is re-rendered.
Paris17:06:42Thu 15 Oct
New York11:06:42Thu 15 Oct
Tokyo00:06:42Fri 16 Oct

Live traffic, pausable

active= takes a ClientState field: the switch stops the timer in the browser, with no server task to cancel.
api-gateway · eu-west
Requests / second60

A countdown with no server at all

on_tick= also takes a client action. The timer counts down in the page and stops itself at zero.

Check your inbox

We sent a 6-digit code to [email protected].