jed
02/15/2021, 12:25 PMfetch
.jed
02/15/2021, 12:29 PMfetch
inside of that function will actually recursively call the function itself, and not the global self.fetch
.berkant
02/15/2021, 1:00 PMberkant
02/15/2021, 1:03 PMeidam | SuperSaaS
02/15/2021, 1:04 PMberkant
02/15/2021, 1:04 PMeidam | SuperSaaS
02/15/2021, 1:09 PMGreg Brimble | Cloudflare Pages
02/15/2021, 2:15 PMMyDurableObjectNamespace.list()
method planned for any point in the future?Rawn
02/15/2021, 7:39 PMeidam | SuperSaaS
02/15/2021, 7:46 PMRawn
02/15/2021, 7:48 PMRawn
02/15/2021, 7:52 PMlist(options Object)
on the storage object in DO or am I just confused? ๐eidam | SuperSaaS
02/15/2021, 7:54 PMMyDurableObjectNamespace.list()
question, it might be me being confused ๐ค ๐Rawn
02/15/2021, 7:54 PMRawn
02/15/2021, 8:01 PMRawn
02/15/2021, 8:02 PMkenton
02/16/2021, 1:19 AMexport default { fetch () {} }
exports an object that has a method called fetch()
. It doesn't define fetch()
at the global scope. To call it recursively you'd have to write this.fetch()
.kenton
02/16/2021, 1:21 AMjed
02/16/2021, 1:32 AMasync function fetch(){}; export {fetch};
.kenton
02/16/2021, 1:34 AMjed
02/16/2021, 1:34 AMkenton
02/16/2021, 1:36 AMkenton
02/16/2021, 1:36 AMkenton
02/16/2021, 1:37 AMjed
02/16/2021, 1:38 AMnilslice
02/16/2021, 5:02 AMError 1006
for my "voice chat" worker + DO, which capture microphone audio, and sends ~3kb binary blobs over a websocket every 500ms (i'm throttling to 500ms while testing. would ideally like to send smaller blobs more frequently...)kenton
02/16/2021, 5:03 AMnilslice
02/16/2021, 5:04 AMnilslice
02/16/2021, 5:06 AMkenton
02/16/2021, 5:09 AM