We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Following on from PhpGt/Fetch#153, it would be nice to simulate the "await" keyword in JS:
JS version:
const response = await fetch("/api"); const jsonObject = await response.json();
PHP version:
$response = $http->awaitFetch("/api"); $jsonObject = $response->awaitJson();
The text was updated successfully, but these errors were encountered:
feature: async response methods for #220
9ffada7
feature: async response methods for #220 (#221)
8e25985
* feature: async response methods for #220 * build: build with 8.1 compatibility * tweak: allow more public methods
Successfully merging a pull request may close this issue.
Following on from PhpGt/Fetch#153, it would be nice to simulate the "await" keyword in JS:
JS version:
PHP version:
The text was updated successfully, but these errors were encountered: