singular-registry
Safe HaskellNone
LanguageGHC2021

Singular.Provider.Koios.Runtime

Description

IO lifecycle effects for the same constructor used in pure State. Each raw read is timed where it happens and traced as one of the backend's own exchanges; opening and closing a session are traced too. The sink keeps the raw evidence a receipt records, which no trace carries.

Synopsis

Documentation

newIORuntime :: Tracer IO BackendEvent -> (ProviderEvent -> IO ()) -> IO (ProviderRuntime IO) Source #

The sink retains raw evidence for receipts. The tracer records names, identities, durations and failure classes, without raw bodies, error text or keys.

koiosSource :: Text Source #

The source Koios's exchanges and reads report as.