Structs
- The dam controls the flow of events. A dam is used in broot to manage long computations and, when the user presses a key, either tell the computation to stop (the computation function checking
has_event
) or drop the computation.
Enums
- wraps either a computation in progress, or a finished one (even a failed or useless one). This can be stored in a map to avoid starting computations more than once.