Skip to content

Commit 3168ba7

Browse files
Update AkkaStreamsTemplate.md (#413)
Standarizing the README's a bit
1 parent 67681ab commit 3168ba7

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

docs/AkkaStreamsTemplate.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,9 @@ IActorRef transformer = host.Services.GetRequiredService<IRequiredActor<Transfor
5555

5656
The real guts of this application is, of course, [Akka.Streams](https://getakka.net/articles/streams/introduction.html):
5757

58+
<details open>
59+
<summary><b>C# Implementation</b></summary>
60+
5861
```csharp
5962
// create a stream that iterates over the numbers 1 to 100
6063
await Source.From(Enumerable.Range(1, 1000))
@@ -68,6 +71,7 @@ await Source.From(Enumerable.Range(1, 1000))
6871
})
6972
.RunForeach(Console.WriteLine, system); // write all output to console
7073
```
74+
</details>
7175

7276
<details>
7377
<summary><b>F# Implementation</b></summary>
@@ -107,4 +111,4 @@ type TransformActor() as this =
107111

108112
</details>
109113

110-
This is a simple, finite stream that uses some of [Akka.Streams' built-in stages](https://getakka.net/articles/streams/builtinstages.html) to demonstrate asynchronous stream processing as well as [Akka.NET actor integration with Akka.Streams](https://getakka.net/articles/streams/integration.html).
114+
This is a simple, finite stream that uses some of [Akka.Streams' built-in stages](https://getakka.net/articles/streams/builtinstages.html) to demonstrate asynchronous stream processing as well as [Akka.NET actor integration with Akka.Streams](https://getakka.net/articles/streams/integration.html).

0 commit comments

Comments
 (0)