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

Function count

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

Source from the content-addressed store, hash-verified

218 * @since 2.0.0
219 */
220export const count = (label?: string): Effect.Effect<void> =>
221 consoleWith((console) =>
222 effect.sync(() => {
223 console.count(label)
224 })
225 )
226
227/**
228 * Resets the counter associated with the specified label back to zero.

Callers 1

Atom.test.tsFile · 0.50

Calls 3

consoleWithFunction · 0.85
countMethod · 0.80
syncMethod · 0.45

Tested by

no test coverage detected