Skip to content

Commit b888124

Browse files
committed
docs(changeset): describe flags sync modes
1 parent 63b6379 commit b888124

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.changeset/dull-deserts-begin.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
"@reflag/openfeature-node-provider": minor
3+
"@reflag/node-sdk": minor
4+
---
5+
6+
Add a new `flagsSyncMode` option to the Node SDK with three sync strategies: `polling`, `in-request`, and `push`.
7+
8+
`polling` keeps the existing periodic background refresh behavior, `in-request` refreshes stale flag definitions during request handling, and `push` subscribes to live flag updates over SSE. The new `push` mode lets applications receive flag definition updates immediately as they happen without relying on periodic polling.

0 commit comments

Comments
 (0)