def events_of

cswap-bend-cli@0.1.0.0 · daemon/quarantine.bend:112

import cswap-bend-cli@0.1.0.0/daemon/quarantine.bend as Quarantine
import Base
import cswap-bend-cli@0.1.0.0/json.bend as Json
import cswap-bend-cli@0.1.0.0/daemon/events.bend as Ev

112def events_of(+ts: String, +rs: List<&2, Rel>) -> List<&2, Json.Json>:
113  match rs:
114    case Nil{}:
115      []
116    case Con{Rel{s, e, r}, t}:
117      Ev.unquarantined(ts, s, e, r) <> events_of(ts, t)

Uses (5)

Used by (1)