mirror of
https://github.com/oven-sh/bun
synced 2026-02-12 20:09:04 +00:00
😪
This commit is contained in:
@@ -2253,7 +2253,7 @@ const char* const s_readableStreamInternalsReadableStreamDefaultControllerCanClo
|
||||
const JSC::ConstructAbility s_readableStreamInternalsLazyLoadStreamCodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
|
||||
const JSC::ConstructorKind s_readableStreamInternalsLazyLoadStreamCodeConstructorKind = JSC::ConstructorKind::None;
|
||||
const JSC::ImplementationVisibility s_readableStreamInternalsLazyLoadStreamCodeImplementationVisibility = JSC::ImplementationVisibility::Public;
|
||||
const int s_readableStreamInternalsLazyLoadStreamCodeLength = 2701;
|
||||
const int s_readableStreamInternalsLazyLoadStreamCodeLength = 2512;
|
||||
static const JSC::Intrinsic s_readableStreamInternalsLazyLoadStreamCodeIntrinsic = JSC::NoIntrinsic;
|
||||
const char* const s_readableStreamInternalsLazyLoadStreamCode =
|
||||
"(function (stream, autoAllocateChunkSize) {\n" \
|
||||
@@ -2277,7 +2277,6 @@ const char* const s_readableStreamInternalsLazyLoadStreamCode =
|
||||
" handleResult = function handleResult(result, controller, view) {\n" \
|
||||
" \"use strict\";\n" \
|
||||
"\n" \
|
||||
" console.log(\"handleResult\", result, controller, view);\n" \
|
||||
" \n" \
|
||||
" if (result && @isPromise(result)) {\n" \
|
||||
" return result.then(\n" \
|
||||
@@ -2289,10 +2288,8 @@ const char* const s_readableStreamInternalsLazyLoadStreamCode =
|
||||
" );\n" \
|
||||
" } else if (result !== false) {\n" \
|
||||
" if (view && view.byteLength === result) {\n" \
|
||||
" console.log(\"view\", result, controller.byobRequest);\n" \
|
||||
" controller.byobRequest.respondWithNewView(view);\n" \
|
||||
" } else {\n" \
|
||||
" console.log(\"result\", result, controller.byobRequest);\n" \
|
||||
" controller.byobRequest.respond(result);\n" \
|
||||
" }\n" \
|
||||
" }\n" \
|
||||
|
||||
Reference in New Issue
Block a user