Course of Raku / Functional, concurrent, reactive, and web programming / Concurrent programming / Promises / Exercises
Kept or broken
Problem
A promise that completes successfully is said to be kept.
Start a promise, await it, and then print its .status.
Example
The program prints:
Kept