MCPcopy Create free account
hub / github.com/Effect-TS/effect / count

Function count

packages/effect/src/Console.ts:227–232  ·  view source on GitHub ↗
(label?: string)

Source from the content-addressed store, hash-verified

225 * @since 2.0.0
226 */
227export const count = (label?: string): Effect.Effect<void> =>
228 consoleWith((console) =>
229 effect.sync(() => {
230 console.count(label)
231 })
232 )
233
234/**
235 * Resets the counter associated with the specified label back to zero.

Callers

nothing calls this directly

Calls 3

consoleWithFunction · 0.85
countMethod · 0.65
syncMethod · 0.45

Tested by

no test coverage detected