This library is in flux. APIs may change without notice. Generated from source with koruc 0.1.7 on 9/16/2026.
Store.view
~import std/store.viewKoru Standard Library: Reactive Stores — the `view` event.
store.view.kz · 1 tors
Koru Standard Library: Reactive Stores — the `view` event.
Joined via `~part view` in store.kz; merged into the store module at load.
STORE.VIEW — a vocabulary of stores, projected for iteration
std/store:view(Entities) { Player, Enemy }
A store-view is not a container: it has no capacity, no allocation, no insert,
and no SoA cell. The rows live in the member stores. It registers the kind
vocabulary and the folded shared schema.
// Koru Standard Library: Reactive Stores — the `view` event.
// Joined via `~part view` in store.kz; merged into the store module at load.
//
// STORE.VIEW — a vocabulary of stores, projected for iteration
//
// std/store:view(Entities) { Player, Enemy }
//
// A store-view is not a container: it has no capacity, no allocation, no insert,
// and no SoA cell. The rows live in the member stores. It registers the kind
// vocabulary and the folded shared schema.
~[keyword|comptime|transform] pub tor view {
expr: Expression,
source: Source,
invocation: *const Invocation,
item: std/compiler:*const Item,
program: std/compiler:*const Program,
reporter: std/compiler:*ErrorReporter,
allocator: std.mem.Allocator
} -> SiteResult