( self: Metric<Input, State> )
| 2589 | * @since 2.0.0 |
| 2590 | */ |
| 2591 | export const value = <Input, State>( |
| 2592 | self: Metric<Input, State> |
| 2593 | ): Effect<State> => |
| 2594 | InternalEffect.flatMap( |
| 2595 | InternalEffect.context(), |
| 2596 | (context) => InternalEffect.sync(() => self.valueUnsafe(context)) |
| 2597 | ) |
| 2598 | |
| 2599 | /** |
| 2600 | * Modifies the metric with the specified input. |
no test coverage detected