diff options
author | 2023-01-07 23:45:09 -0800 | |
---|---|---|
committer | 2023-01-07 23:45:43 -0800 | |
commit | fadd1c0152ebce389f7d8fa0c297208cd71ff5c0 (patch) | |
tree | 3f3eeb5536b725c23744eee6062e2105bc3e0a98 /src/bun.js/bindings/headers.h | |
parent | 1e19d592739d30d7b1525e2b9102c41f3150e40d (diff) | |
download | bun-fadd1c0152ebce389f7d8fa0c297208cd71ff5c0.tar.gz bun-fadd1c0152ebce389f7d8fa0c297208cd71ff5c0.tar.zst bun-fadd1c0152ebce389f7d8fa0c297208cd71ff5c0.zip |
[Bun.connect] Fix bug where connect() Promise wouldn't reject on a connection error
Diffstat (limited to 'src/bun.js/bindings/headers.h')
-rw-r--r-- | src/bun.js/bindings/headers.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bun.js/bindings/headers.h b/src/bun.js/bindings/headers.h index 728c81afb..1c0581c81 100644 --- a/src/bun.js/bindings/headers.h +++ b/src/bun.js/bindings/headers.h @@ -1,5 +1,5 @@ // clang-format off -//-- AUTOGENERATED FILE -- 1673090883 +//-- AUTOGENERATED FILE -- 1673163040 #pragma once #include <stddef.h> @@ -200,7 +200,7 @@ CPP_DECL void JSC__JSPromise__rejectAsHandled(JSC__JSPromise* arg0, JSC__JSGloba CPP_DECL void JSC__JSPromise__rejectAsHandledException(JSC__JSPromise* arg0, JSC__JSGlobalObject* arg1, JSC__Exception* arg2); CPP_DECL JSC__JSPromise* JSC__JSPromise__rejectedPromise(JSC__JSGlobalObject* arg0, JSC__JSValue JSValue1); CPP_DECL JSC__JSValue JSC__JSPromise__rejectedPromiseValue(JSC__JSGlobalObject* arg0, JSC__JSValue JSValue1); -CPP_DECL void JSC__JSPromise__rejectOnNextTick(JSC__JSPromise* arg0, JSC__JSGlobalObject* arg1, JSC__JSValue JSValue2); +CPP_DECL void JSC__JSPromise__rejectOnNextTickWithHandled(JSC__JSPromise* arg0, JSC__JSGlobalObject* arg1, JSC__JSValue JSValue2, bool arg3); CPP_DECL void JSC__JSPromise__rejectWithCaughtException(JSC__JSPromise* arg0, JSC__JSGlobalObject* arg1, bJSC__ThrowScope arg2); CPP_DECL void JSC__JSPromise__resolve(JSC__JSPromise* arg0, JSC__JSGlobalObject* arg1, JSC__JSValue JSValue2); CPP_DECL JSC__JSPromise* JSC__JSPromise__resolvedPromise(JSC__JSGlobalObject* arg0, JSC__JSValue JSValue1); |