ItsWendell
09/15/2021, 5:23 PMts
const id = crypto.randomUUID();
export default {
fetch: handleFetch(id)
}
compared to:
ts
globalThis.id = crypto.randomUUID();
export default {
fetch: handleFetch(globalThis.id)
}
Is there a difference in scope? E.g. is the first one scoped to the Worker, the second one to the isolate? Or is it essentially the same? 🤔Taral
09/16/2021, 5:41 AMray_232_air
09/16/2021, 6:16 AMErwin
09/16/2021, 6:26 AMwrangler.toml
file, then run the wrangler publish --delete-class $ClassName
cmd and finally delete the worker.ray_232_air
09/16/2021, 6:36 AMray_232_air
09/16/2021, 6:37 AMray_232_air
09/16/2021, 6:37 AMHardAtWork
09/16/2021, 6:37 AMray_232_air
09/16/2021, 6:38 AMray_232_air
09/16/2021, 6:39 AMWalshy | Pages
09/16/2021, 6:39 AMHardAtWork
09/16/2021, 6:41 AMGET https://api.cloudflare.com/client/v4/accounts/<account-id>/workers/durable_objects/namespaces
DELETE https://api.cloudflare.com/client/v4/accounts/<account-id>/workers/durable_objects/namespaces/<namespace-id>
ray_232_air
09/16/2021, 6:42 AMHardAtWork
09/16/2021, 6:42 AMray_232_air
09/16/2021, 6:55 AMHardAtWork
09/16/2021, 6:55 AMmatt
09/16/2021, 3:28 PMmatt
09/16/2021, 3:33 PMenv
which is quite different from all the other things in there.matt
09/16/2021, 9:59 PMjohn.spurlock
09/16/2021, 10:03 PMHardAtWork
09/16/2021, 10:04 PMraRaRa
09/16/2021, 10:07 PMmatt
09/16/2021, 10:09 PMmatt
09/16/2021, 10:13 PMjohn.spurlock
09/16/2021, 10:24 PMWeakMap
, but it would be great to get a push notification to be able to kick off processes or accounting in real time.matt
09/16/2021, 10:31 PMjohn.spurlock
09/16/2021, 10:39 PMray_232_air
09/17/2021, 11:42 AMbrett
09/17/2021, 11:47 AMray_232_air
09/17/2021, 11:50 AM