This library is in flux. APIs may change without notice. Generated from source with koruc 0.1.7 on 9/16/2026.
Store.rule
~import std/store.ruleKoru Standard Library: Reactive Stores — the `rule` event.
store.rule.kz · 1 tors
Koru Standard Library: Reactive Stores — the `rule` event.
Joined via `~part rule` in store.kz; merged into the store module at load.
STORE.QUERY — row-level subscription + imperative sweep (rung two)
The coordinator (create) has already transplanted this site's projection,
guard, and body into the per-line qrow/qbody units and spliced standing
enters into the insert path. The site itself becomes the SWEEP over the
rows that exist when its program position executes ((l) lean: the
imperative sweep IS the stripe).
// Koru Standard Library: Reactive Stores — the `rule` event.
// Joined via `~part rule` in store.kz; merged into the store module at load.
//
// STORE.QUERY — row-level subscription + imperative sweep (rung two)
//
// The coordinator (create) has already transplanted this site's projection,
// guard, and body into the per-line qrow/qbody units and spliced standing
// enters into the insert path. The site itself becomes the SWEEP over the
// rows that exist when its program position executes ((l) lean: the
// imperative sweep IS the stripe).
~[keyword|comptime|transform|claims_descendants] pub tor rule {
expr: Expression,
invocation: *const Invocation,
item: std/compiler:*const Item,
program: std/compiler:*const Program,
reporter: std/compiler:*ErrorReporter,
allocator: std.mem.Allocator
} -> SiteResult