Skip to content

Commit f559e23

Browse files
authored
Update src/connections/sources/catalog/libraries/mobile/react-native/index.md
1 parent 464a5f6 commit f559e23

File tree

1 file changed

+1
-1
lines changed
  • src/connections/sources/catalog/libraries/mobile/react-native

1 file changed

+1
-1
lines changed

src/connections/sources/catalog/libraries/mobile/react-native/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ const client = createClient({
354354
});
355355
```
356356
You can set several policies at a time. When a flush occurs, it triggers an upload of the events, then resets the logic after every flush.
357-
That means only the first policy to reach `shouldFlush` gets to trigger a flush at a time. In the example above either the event count gets to 5 or the timer reaches 500ms, whatever comes first will trigger a flush.
357+
As a result, only the first policy to reach `shouldFlush` will trigger a flush. In the example above either the event count reaches 5 or the timer reaches 500ms, whatever comes first will trigger a flush.
358358
We have several standard FlushPolicies:
359359
- `CountFlushPolicy` triggers whenever a certain number of events is reached
360360
- `TimerFlushPolicy` triggers on an interval of milliseconds

0 commit comments

Comments
 (0)