summaryrefslogtreecommitdiff
path: root/op_crates/fetch/26_fetch.js
diff options
context:
space:
mode:
authorSatya Rohith <me@satyarohith.com>2021-04-28 19:38:51 +0530
committerGitHub <noreply@github.com>2021-04-28 10:08:51 -0400
commit2bd087ab1b2c2047b1681b8bb369a1f8acf30019 (patch)
tree5a8cc8fdb5956e9396416dbe473440c449161c24 /op_crates/fetch/26_fetch.js
parent8c6f97719215815eae63cfb7cdcb5def27756a3a (diff)
chore: upgrade dprint plugins (#10397)
Diffstat (limited to 'op_crates/fetch/26_fetch.js')
-rw-r--r--op_crates/fetch/26_fetch.js20
1 files changed, 10 insertions, 10 deletions
diff --git a/op_crates/fetch/26_fetch.js b/op_crates/fetch/26_fetch.js
index a6d1608d0..cd86d6023 100644
--- a/op_crates/fetch/26_fetch.js
+++ b/op_crates/fetch/26_fetch.js
@@ -32,8 +32,8 @@
];
/**
- * @param {{ method: string, url: string, headers: [string, string][], clientRid: number | null, hasBody: boolean }} args
- * @param {Uint8Array | null} body
+ * @param {{ method: string, url: string, headers: [string, string][], clientRid: number | null, hasBody: boolean }} args
+ * @param {Uint8Array | null} body
* @returns {{ requestRid: number, requestBodyRid: number | null }}
*/
function opFetch(args, body) {
@@ -41,7 +41,7 @@
}
/**
- * @param {number} rid
+ * @param {number} rid
* @returns {Promise<{ status: number, statusText: string, headers: [string, string][], url: string, responseRid: number }>}
*/
function opFetchSend(rid) {
@@ -49,8 +49,8 @@
}
/**
- * @param {number} rid
- * @param {Uint8Array} body
+ * @param {number} rid
+ * @param {Uint8Array} body
* @returns {Promise<void>}
*/
function opFetchRequestWrite(rid, body) {
@@ -58,8 +58,8 @@
}
/**
- * @param {number} rid
- * @param {Uint8Array} body
+ * @param {number} rid
+ * @param {Uint8Array} body
* @returns {Promise<number>}
*/
function opFetchResponseRead(rid, body) {
@@ -105,7 +105,7 @@
}
/**
- * @param {InnerRequest} req
+ * @param {InnerRequest} req
* @param {boolean} recursive
* @returns {Promise<InnerResponse>}
*/
@@ -268,8 +268,8 @@
}
/**
- * @param {RequestInfo} input
- * @param {RequestInit} init
+ * @param {RequestInfo} input
+ * @param {RequestInit} init
*/
async function fetch(input, init = {}) {
const prefix = "Failed to call 'fetch'";