Skip to content

Commit

Permalink
Update AkkaStreamsTemplate.md (#413)
Browse files Browse the repository at this point in the history
Standarizing the README's a bit
  • Loading branch information
Aaronontheweb authored Feb 25, 2025
1 parent 67681ab commit 3168ba7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docs/AkkaStreamsTemplate.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@ IActorRef transformer = host.Services.GetRequiredService<IRequiredActor<Transfor

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

<details open>
<summary><b>C# Implementation</b></summary>

```csharp
// create a stream that iterates over the numbers 1 to 100
await Source.From(Enumerable.Range(1, 1000))
Expand All @@ -68,6 +71,7 @@ await Source.From(Enumerable.Range(1, 1000))
})
.RunForeach(Console.WriteLine, system); // write all output to console
```
</details>

<details>
<summary><b>F# Implementation</b></summary>
Expand Down Expand Up @@ -107,4 +111,4 @@ type TransformActor() as this =

</details>

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).
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 comments on commit 3168ba7

Please sign in to comment.