17 Coordinating timelines
In this chapter
- Learn how to create a primitive to coordinate multiple timelines.
- Learn how functional programmers manipulate the two important aspects of time, ordering and repetition.
In the last chapter, we learned to diagnose resource-sharing bugs and created a concurrency primitive to share resources safely. Sometimes, multiple timelines need to work together when there’s no explicit resource they are sharing. In this chapter, we will build a concurrency primitive that will help timelines coordinate and eliminate incorrect possible orderings.
Principles of working with timelines
Here are the principles again as a reminder. In the last two chapters, we worked through principles 1–4, showing how they help ensure ...
Get Grokking Simplicity now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.