Source/Packages

Observe.Value

packages/observability/src/Observe/Value.alpha

564 lines114 declarations29.3 KiBSHA-256 09f8c02938ee

def · lines 560–564

aosEncodeValue

Full file
the value's AOS-JSON/1 bytes (b"" if the renderer refuses: it bounds its output)
560def aosEncodeValue =
561  (lambda unrestricted value : (family AosValue) .
562    (eliminate JSONRenderResult (lambda unrestricted current : (family JSONRenderResult) . Bytes) (renderJSON (aosValueJSON value))
563      (branch JSONRendered bytes . bytes)
564      (branch JSONRenderFailed error . b"")))

The compiler supplied declaration spans and resolved links from this source snapshot. This page does not assert that this file belongs to a checked closure.