def pick_mode

cswap-bend-cli@0.1.0.0 · tui/run.bend:199

import cswap-bend-cli@0.1.0.0/tui/run.bend as Run
import Base
import cswap-bend-cli@0.1.0.0/tui/model.bend as M

199def pick_mode(+once: Bool, +v: M.View, +version: String, +root: String, +state: String, +secs: U32) -> IO(Unit):
200  match once:
201    case True{}:
202      once_frame(v, version, root, state)
203    case False{}:
204      forever(v, version, root, state, secs)

Uses (8)

Used by (1)