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

Function exponentialBoundaries

packages/effect/src/Metric.ts:3205–3210  ·  view source on GitHub ↗
(options: {
  readonly start: number
  readonly factor: number
  readonly count: number
})

Source from the content-addressed store, hash-verified

3203 * @since 4.0.0
3204 */
3205export const exponentialBoundaries = (options: {
3206 readonly start: number
3207 readonly factor: number
3208 readonly count: number
3209}): ReadonlyArray<number> =>
3210 boundariesFromIterable(Arr.makeBy(options.count - 1, (i) => options.start * Math.pow(options.factor, i)))
3211
3212// Fiber Runtime Metrics
3213

Callers 1

timerFunction · 0.85

Calls 1

boundariesFromIterableFunction · 0.85

Tested by

no test coverage detected