Skip to content
This repository was archived by the owner on Jun 6, 2024. It is now read-only.

Commit 55b4022

Browse files
authored
Merge pull request #77 from kturney/waitUntil
add missing waitUntil stub in dispatch
2 parents 8b00bae + 4a48b38 commit 55b4022

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/cloudworker.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ class Cloudworker {
4545

4646
const event = new runtime.FetchEvent('fetch', {request: request})
4747
event.respondWith = respondWith
48+
event.waitUntil = () => {}
4849
event.onError = error
4950
this.dispatcher.emit('fetch', event)
5051
})

0 commit comments

Comments
 (0)