This is creating a closure. `Then` has an overload that accepts an argument that you can use like this:

```C#
return InitializePersistentState().Then(c => ProcessReceiveRequest(c), connection);
``