Course of Raku / Functional, concurrent, reactive, and web programming / Reactive programming / await / Exercises
Await a promise
Problem
Start a promise that produces 100, then await it and
print the result.
Example
The program prints:
100Course of Raku / Functional, concurrent, reactive, and web programming / Reactive programming / await / Exercises
Start a promise that produces 100, then await it and
print the result.
The program prints:
100