Created
July 13, 2022 16:48
-
-
Save richardDobron/777a8d861baca5a0c96cd4e1a0463001 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$asyncResponse = new \dobron\BigPipe\AsyncResponse(); | |
// $asyncResponse->bigPipe()->require(["SecretModule", "run"], ... ) | |
// is same as: | |
$asyncResponse->bigPipe()->require("require('SecretModule').run()", [ | |
'first argument', | |
'second argument', | |
// ... | |
]); | |
$asyncResponse->send(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment