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: articles/azure-monitor/app/api-custom-events-metrics.md
+1-10Lines changed: 1 addition & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -654,16 +654,7 @@ telemetry.flush();
654
654
655
655
The function is asynchronous for the [server telemetry channel](https://www.nuget.org/packages/Microsoft.ApplicationInsights.WindowsServer.TelemetryChannel/).
656
656
657
-
We recommend using the flush() or flushAsync() methods in the shutdown activity of the Application when using the .NET or JS SDK.
658
-
659
-
For Example:
660
-
661
-
*JS*
662
-
663
-
```javascript
664
-
// Immediately send all queued telemetry. By default, it is sent async.
665
-
flush(async?: boolean =true)
666
-
```
657
+
We recommend using the flush() or flushAsync() methods in the shutdown activity of the Application when using the .NET SDK.
0 commit comments