mirror of
https://github.com/Buriburizaem0n/admin-frontend-domain.git
synced 2026-11-04 16:50:20 +00:00
optimize fm (#82)
* optimize fm * chore: auto-fix linting and formatting issues * fix: type * chore: auto-fix linting and formatting issues --------- Co-authored-by: uubulb <uubulb@users.noreply.github.com> Co-authored-by: naiba <hi@nai.ba> Co-authored-by: naiba <naiba@users.noreply.github.com>
This commit is contained in:
12 files changed
+164
-120
No files matched your search
+2
-3
@@ -38,9 +38,8 @@ onmessage = async function (event) {
|
||||
throw new Error("accessHandle is undefined")
|
||||
}
|
||||
|
||||
const dataChunk = arrayBuffer
|
||||
accessHandle.write(dataChunk, { at: receivedLength })
|
||||
receivedLength += dataChunk.byteLength
|
||||
accessHandle.write(arrayBuffer, { at: receivedLength })
|
||||
receivedLength += arrayBuffer.byteLength
|
||||
|
||||
if (receivedLength === expectedLength) {
|
||||
accessHandle.flush()
|
||||
|
||||
Reference in new issue
Block a user