UNPKG

@graphql-hive/core

Version:
4 lines 301 B
import type { SamplingContext } from './types.js'; export declare function randomSampling(sampleRate: number): () => boolean; export declare function dynamicSampling(sampler: (context: SamplingContext) => number | boolean): (context: SamplingContext) => boolean; //# sourceMappingURL=sampling.d.ts.map