Skip to content
New issue

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

docs(readme): remove async infront of response.clone() #1560

Merged
merged 1 commit into from May 20, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -594,7 +594,7 @@ The recommended way to fix this problem is to resolve cloned response in paralle
import fetch from 'node-fetch';

const response = await fetch('https://example.com');
const r1 = await response.clone();
const r1 = response.clone();

const results = await Promise.all([response.json(), r1.text()]);

Expand Down