Skip to content

Commit

Permalink
Fix example
Browse files Browse the repository at this point in the history
  • Loading branch information
mtmk committed Oct 16, 2024
1 parent 28bde27 commit ae31ae3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/NATS.Net.DocsExamples/Core/IntroPage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,12 @@ public async Task Run()

await nc.PublishAsync("bar.exit");
#endregion

for (var i = 0; i < 3; i++)
{
await Task.Delay(250);
await nc.PublishAsync("bar.exit");
}
}

await subscription;
Expand Down

0 comments on commit ae31ae3

Please sign in to comment.