user
Determine if a key has been pressed and store this in a variable.

If no key has been pressed, the program should continue without waiting.
assistant
(formerly Perl 6)

**Works with**: Rakudo version 2018.10

```
use Term::ReadKey;

react {
    whenever key-pressed(:!echo) {
        given .fc {
            when 'q' { done }
            default { .uniname.say }
        }
    }
}

```