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:

100

Solution

See the solution

Course navigation

Waiting for completion   |   Solution: Await a promise