Hello.

>
> Just one quick question for now; why is `suspend()` a function and not a
statement?
>
Yes, suspend() is a function from the Async namespace.
I couldn't find any strong reasons to define it as an operator:
```php
suspend();
// vs
suspend;
```

For example, the spawn operator makes the code more expressive and
eliminates the need for closing parentheses. await here looks more like a
prefix for spawn.

---
Ed.

Reply via email to