Skip to content

Commit f72a0e6

Browse files
code style
Signed-off-by: Thomas Poignant <[email protected]>
1 parent d1aa010 commit f72a0e6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

libs/providers/go-feature-flag/src/lib/go-feature-flag-provider.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,21 +33,21 @@ export class GoFeatureFlagProvider implements Provider {
3333

3434
// endpoint of your go-feature-flag relay proxy instance
3535
private readonly endpoint: string;
36+
3637
// timeout in millisecond before we consider the request as a failure
3738
private readonly timeout: number;
3839

39-
4040
// cache contains the local cache used in the provider to avoid calling the relay-proxy for every evaluation
4141
private readonly cache?: LRUCache<string, ResolutionDetails<any>>;
4242

43-
4443
// bgSchedulerId contains the id of the setInterval that is running.
4544
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
4645
// @ts-ignore
4746
private bgScheduler?: NodeJS.Timer;
4847

4948
// dataCollectorBuffer contains all the FeatureEvents that we need to send to the relay-proxy for data collection.
5049
private dataCollectorBuffer?: FeatureEvent<any>[];
50+
5151
// dataCollectorMetadata are the metadata used when calling the data collector endpoint
5252
private readonly dataCollectorMetadata: Record<string, string> = {
5353
provider: 'open-feature-js-sdk',
@@ -59,6 +59,7 @@ export class GoFeatureFlagProvider implements Provider {
5959

6060
// dataFlushInterval interval time (in millisecond) we use to call the relay proxy to collect data.
6161
private readonly dataFlushInterval: number;
62+
6263
// disableDataCollection set to true if you don't want to collect the usage of flags retrieved in the cache.
6364
private readonly disableDataCollection: boolean;
6465

0 commit comments

Comments
 (0)