aboutsummaryrefslogtreecommitdiff
path: root/src/bun.js/bindings/ZigGlobalObject.h
diff options
context:
space:
mode:
authorGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2022-12-02 20:48:57 -0800
committerGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2022-12-02 20:48:57 -0800
commitfe4f39fd17b8ffbb809871b9e4c6550063f15657 (patch)
tree94e3b98898cd9d8b62804cec72fc81776a841135 /src/bun.js/bindings/ZigGlobalObject.h
parent9cc03cd71a2e42b489b8b0c837cdb0d1b1d3fa0b (diff)
downloadbun-fe4f39fd17b8ffbb809871b9e4c6550063f15657.tar.gz
bun-fe4f39fd17b8ffbb809871b9e4c6550063f15657.tar.zst
bun-fe4f39fd17b8ffbb809871b9e4c6550063f15657.zip
Add `AbortSignal.timeout`
Diffstat (limited to 'src/bun.js/bindings/ZigGlobalObject.h')
-rw-r--r--src/bun.js/bindings/ZigGlobalObject.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bun.js/bindings/ZigGlobalObject.h b/src/bun.js/bindings/ZigGlobalObject.h
index bcc6cb804..90d67d34f 100644
--- a/src/bun.js/bindings/ZigGlobalObject.h
+++ b/src/bun.js/bindings/ZigGlobalObject.h
@@ -149,6 +149,7 @@ public:
WebCore::ScriptExecutionContext* scriptExecutionContext() const;
void queueTask(WebCore::EventLoopTask* task);
+ void queueTaskOnTimeout(WebCore::EventLoopTask* task, int timeout);
void queueTaskConcurrently(WebCore::EventLoopTask* task);
JSDOMStructureMap& structures() WTF_REQUIRES_LOCK(m_gcLock) { return m_structures; }