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

Function value

packages/effect/src/Metric.ts:2695–2697  ·  view source on GitHub ↗
(
  self: Metric<Input, State>
)

Source from the content-addressed store, hash-verified

2693 * @since 2.0.0
2694 */
2695export const value = <Input, State>(
2696 self: Metric<Input, State>
2697): Effect<State> => withFiberSucceed((fiber) => self.valueUnsafe(fiber.context))
2698
2699/**
2700 * Modifies the metric with the specified input.

Callers 5

Redacted.tsFile · 0.70
RecordFunction · 0.70
optsFunction · 0.50
index.test.tsxFile · 0.50
getByNameMethod · 0.50

Calls

no outgoing calls

Tested by 2

optsFunction · 0.40
getByNameMethod · 0.40