In this chapter, we will cover the following recipes:
- Using a future directly for a simple operation
- Using futures with actors
- Using futures inside actors
- Using for-comprehensions for futures
- Handling callback on futures
- Creating a simple parallel application using futures
- Reducing a sequence of futures
- Reading and updating agents
- Composing agents monadically