bytesOffunctionno test imports itfunction bytesOf(op: Op, done: Done | undefined): number | undefinedThe number of bytes an operation moved: what it carried, or what it answered with.
The traced layer: one span for each operation, begun and ended through a tracer the caller gives. A span names the operation and says what the store is, which path, what the outcome was and how many bytes moved; it never holds the bytes or any text of a file. A tracer that throws never fails an operation.
import { traced } from "./traced.ts";
// const store = traced(inner, tracer)bytesOffunctionno test imports itfunction bytesOf(op: Op, done: Done | undefined): number | undefinedThe number of bytes an operation moved: what it carried, or what it answered with.
tracedfunctionfunction traced<C extends Capability>(store: Store<C>, tracer: Tracer): Store<Carried<C>>A store that makes a span for each operation of its argument, and keeps its capabilities.