We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d4454bc commit 9c968a1Copy full SHA for 9c968a1
aspnetcore/fundamentals/minimal-apis/10.0-samples/MinimalServerSentEvents/Program.cs
@@ -18,7 +18,8 @@ async IAsyncEnumerable<string> GetHeartRate(
18
}
19
20
21
- return TypedResults.ServerSentEvents(GetHeartRate(cancellationToken), eventType: "heartRate");
+ return TypedResults.ServerSentEvents(GetHeartRate(cancellationToken),
22
+ eventType: "heartRate");
23
});
24
// </snippet_string>
25
@@ -36,7 +37,8 @@ async IAsyncEnumerable<HeartRateRecord> GetHeartRate(
36
37
38
39
40
41
42
43
// </snippet_json>
44
0 commit comments