Skip to content

Commit 59fcf06

Browse files
Update src/connections/sources/catalog/libraries/server/csharp/index.md
Co-authored-by: stayseesong <[email protected]>
1 parent 6e5a21f commit 59fcf06

File tree

1 file changed

+1
-1
lines changed
  • src/connections/sources/catalog/libraries/server/csharp

1 file changed

+1
-1
lines changed

src/connections/sources/catalog/libraries/server/csharp/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ A `FlushPolicy` only needs to implement 2 methods:
379379
- `Unschedule`: Called when policy should stop running any scheduled flushes
380380
- `Reset`: Called after a flush is triggered (either by your policy, by another policy or manually)
381381

382-
They also have a `ShouldFlush` observable boolean value. When this is set to true the client will attempt to upload events. Each policy should reset this value to `false` according to its own logic, although it is pretty common to do it inside the `Reset` method.
382+
Your `FlushPolicy` should also have a `ShouldFlush` observable boolean value. When this is set to true the client attempts to upload events. Each policy should reset this value to `false` according to its own logic.
383383

384384
```csharp
385385
class FlushOnScreenEventsPolicy : IFlushPolicy

0 commit comments

Comments
 (0)