Skip to content

Commit a47916f

Browse files
niallzatorchinn1
andauthored
Update src/connections/sources/catalog/libraries/mobile/react-native/index.md
Co-authored-by: rchinn-segment <[email protected]>
1 parent ccf6deb commit a47916f

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
@@ -387,7 +387,7 @@ const unsubscribe = NetInfo.addEventListener((state) => {
387387
});
388388
```
389389
### Creating your own flush policies
390-
You can create a custom FlushPolicy special for your application needs by implementing the `FlushPolicy` interface. You can also extend the `FlushPolicyBase` class that already creates and handles the `shouldFlush` value reset.
390+
You can create a custom Flush Policy special for your application needs by implementing the `FlushPolicy` interface. You can also extend the `FlushPolicyBase` class that already creates and handles the `shouldFlush` value reset.
391391
A `FlushPolicy` only needs to implement 2 methods:
392392
- `start()`: Executed when the flush policy is enabled and added to the client. This is a good place to start background operations, make async calls, configure things before execution
393393
- `onEvent(event: SegmentEvent)`: Gets called on every event tracked by your client

0 commit comments

Comments
 (0)