This library is in flux. APIs may change without notice. Generated from source with koruc 0.1.7 on 9/16/2026.

Store.take

~import std/store.take

Koru Standard Library: Reactive Stores — the `take` event.

store.take.kz · 1 tors

Koru Standard Library: Reactive Stores — the `take` event. Joined via `~part take` in store.kz; merged into the store module at load. STORE.TAKE — extract a row with ownership through the handle head std/store:take(game[r]) | item i |> … Swap-remove (legal: position is never identity — O2/O10.iii). Compiles to `__store_take_<s>(row: <handle>)`; the `| item {fields}` branch carries the row out. Obligation wiring (a taken row must be consumed or given back — 690_007/690_015) rides on the take event's phantom.

take

keywordcomptimetransform koru_std/store.take.kz:15