asynchronous processes flow pattern