unleash-server
Version:
Unleash is an enterprise ready feature toggles service. It provides different strategies for handling feature toggles.
10 lines (9 loc) • 322 B
TypeScript
import { Strategy } from './strategy';
import { Context } from '../context';
export default class GradualRolloutRandomStrategy extends Strategy {
private randomGenerator;
constructor(randomGenerator?: Function);
isEnabled(parameters: {
percentage: number | string;
}, context: Context): boolean;
}