Skip to content

Commit

Permalink
Merge branch 'release/1.0.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
aabs committed Apr 29, 2024
2 parents bedb1e5 + 637333d commit 6d39c8f
Show file tree
Hide file tree
Showing 9 changed files with 1,006 additions and 457 deletions.
10 changes: 4 additions & 6 deletions ActorSrcGen.Playground/Program.cs
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
using ActorSrcGen.Abstractions.Playground;

Console.WriteLine("Hello World");

var actor = new MyActor();

if (actor.Call(10))
Console.WriteLine("Called Synchronously");

await actor.SignalAndWaitForCompletionAsync();
var result = await actor.ReceiveAsync(CancellationToken.None);
Console.WriteLine($"Result: {result}");

var result = await actor.ReceiveDoTask3Async(CancellationToken.None);

Console.WriteLine($"Result: {result}");
await actor.SignalAndWaitForCompletionAsync();
Loading

0 comments on commit 6d39c8f

Please sign in to comment.