Technology24th August 2023

Async method chaining in C#

Async method chaining in C blog image
Share article

We recently had a lot of fairly procedural logic performing multiple tasks in an API request handler. We wanted a way to split it up while maintaining an obvious flow and ease of code navigation. We devised a beneficial way to chain async methods from multiple places together, maintaining a single return path that is easy to read and understand.

Andrew Poole, L5 Senior Software Engineer at ClearBank

Further reading