You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: platform-includes/configuration/drain-example/go.mdx
+14Lines changed: 14 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -16,3 +16,17 @@ func main() {
16
16
sentry.CaptureMessage("my message")
17
17
}
18
18
```
19
+
20
+
`FlushWithContext` is an alternative to Flush that uses a context.Context to manage the timeout or cancellation of the flush operation. This approach is particularly useful in applications where you are already using contexts for managing deadlines and cancellations.
0 commit comments