vans163
05/13/2021, 7:57 PMbrett
05/13/2021, 10:18 PMidFromName
objects is cached in each PoPDeebster
05/14/2021, 5:37 AMidFromName
from a user-friendly char[5] code and I want to reroll this code if it's already in use. I suppose I could have my own DO that tracked these, but it seems like re-inventing the wheel.JuicyIce
05/14/2021, 5:51 AMJuicyIce
05/14/2021, 5:54 AMDeebster
05/14/2021, 5:57 AMvans163
05/14/2021, 3:41 PMfetch
and scheduled
handler in the same worker if ES6 is used?Erwin
05/16/2021, 3:26 AMMooshua
05/16/2021, 7:50 AMschickling
05/16/2021, 2:36 PMOBJECT_NAMESPACE.list(): string[]
?brett
05/16/2021, 4:02 PMbrett
05/16/2021, 4:04 PMvans163
05/16/2021, 11:17 PMvans163
05/16/2021, 11:17 PMvans163
05/16/2021, 11:49 PMjed
05/17/2021, 1:29 AMvans163
05/17/2021, 1:30 AMUnsmart | Tech debt
05/17/2021, 1:40 AMjed
05/17/2021, 1:45 AMjed
05/17/2021, 1:46 AMMurray
05/17/2021, 10:44 AMDeebster
05/17/2021, 1:09 PMsocket.send(message));
and the DO seems to still consider it connected after about ten minutes now. Is the worker still alive and keeping the ws open? Is Cloudflare sending ping frames to test the connection?Deebster
05/17/2021, 1:11 PMDeebster
05/17/2021, 1:30 PMmatt
05/17/2021, 3:06 PMexport default {
async scheduled(controller, env, ctx) {
// controller has scheduledTime and cron properties like ScheduledEvent
// env has KV bindings, DO bindings, secrets, config vars, etc
// ctx has waitUntil()
}, // need commas between functions
async fetch(req, env, ctx) { /*...*/ }
}
Deebster
05/17/2021, 3:35 PMvans163
05/17/2021, 4:24 PMDeebster
05/17/2021, 4:26 PMDeebster
05/17/2021, 4:28 PMMooshua
05/17/2021, 8:38 PM