@graphql-hive/core
Version:
4 lines • 302 B
text/typescript
import type { SamplingContext } from './types.cjs';
export declare function randomSampling(sampleRate: number): () => boolean;
export declare function dynamicSampling(sampler: (context: SamplingContext) => number | boolean): (context: SamplingContext) => boolean;
//# sourceMappingURL=sampling.d.ts.map