1
0
mirror of https://github.com/danog/amp.git synced 2024-11-30 04:29:08 +01:00

Add missing import in Readme (#414)

This commit is contained in:
lwlinux 2023-01-31 12:30:33 +08:00 committed by GitHub
parent 637227bfc2
commit 6f1da17ac5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -119,6 +119,8 @@ Callbacks registered on the Revolt event-loop are automatically run as coroutine
```php
<?php
use function Amp\delay;
require __DIR__ . '/vendor/autoload.php';
Amp\async(function () {