def fetch_usage_gated

cswap-bend-cli@0.1.0.0 · usage.bend:211

import cswap-bend-cli@0.1.0.0/usage.bend as Usage
import Base
import cswap-bend-cli@0.1.0.0/usage/gate.bend as UGate

211# The same, refreshing through the consume gate on <root>/credentials.
212def fetch_usage_gated(credential: String, is_active: Bool, slot: String, email: String, root: String) -> IO(Fetched):
213  fetch_with(UGate.Gate{slot, email, root}, credential, is_active)

Uses (6)

Used by (1)