unleash-server
Version:
Unleash is an enterprise ready feature flag service. It provides different strategies for handling feature flags.
10 lines • 386 B
TypeScript
import { Strategy } from './strategy.js';
import type { Context } from '../context.js';
export default class GradualRolloutRandomStrategy extends Strategy {
private randomGenerator;
constructor(randomGenerator?: Function);
isEnabled(parameters: {
percentage: number | string;
}, _context: Context): boolean;
}
//# sourceMappingURL=gradual-rollout-random.d.ts.map