// ets_tracing: off import * as CL from "../../../Clock/index.js" import type * as Tp from "../../../Collections/Immutable/Tuple/index.js" import type * as C from "./core.js" import * as Summarized from "./summarized.js" /** * Returns the sink that executes this one and times its execution. */ export function timed( self: C.Sink ): C.Sink> { return Summarized.summarized_(self, CL.currentTime, (start, end) => end - start) }