Skip to content

Commit e367000

Browse files
update
1 parent 62b90dc commit e367000

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

articles/azure-app-configuration/howto-timewindow-filter-javascript.md

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ ms.date: 09/26/2024
1515

1616
In this tutorial, you use the time window filter to enable a feature on a schedule for a Node.js application.
1717

18-
The example used in this tutorial is based on the Node.js application introduced in the feature management [quickstart](./quickstart-feature-flag-javascript.md). Before proceeding further, complete the quickstart to create an ASP.NET Core application with a *Beta* feature flag. Once completed, you must [add a time window filter](./howto-timewindow-filter.md) to the *Beta* feature flag in your App Configuration store.
18+
The example used in this tutorial is based on the Node.js application introduced in the feature management [quickstart](./quickstart-feature-flag-javascript.md). Before proceeding further, complete the quickstart to create a Node.js application with a *Beta* feature flag. Once completed, you must [add a time window filter](./howto-timewindow-filter.md) to the *Beta* feature flag in your App Configuration store.
1919

2020
## Prerequisites
2121

@@ -37,9 +37,20 @@ const fm = new FeatureManager(ffProvider);
3737

3838
When you run the application the configuration provider will load the *Beta* feature flag from Azure App Configuration. The result of the `isEnabled("Beta")` method will be printed to the console. If your current time is earlier than the start time set for the time window filter, the *Beta* feature flag will be disabled by the time window filter.
3939

40+
You will see the following console outputs.
41+
42+
``` bash
43+
Beta is enabled: false
44+
Beta is enabled: false
45+
Beta is enabled: false
46+
Beta is enabled: false
47+
Beta is enabled: false
48+
Beta is enabled: false
49+
```
50+
4051
Once the start time has passed, you'll notice that the *Beta* feature flag is enabled by the time window filter.
4152

42-
You will see the following console outputs.
53+
You will see the console outputs change as the *Beta* is enabled.
4354

4455
``` bash
4556
Beta is enabled: false

0 commit comments

Comments
 (0)