john.spurlock
08/03/2021, 1:48 PMlist
and put(entries)
also take similar optional bypass args...vans163
08/03/2021, 1:48 PMkenton
08/03/2021, 1:52 PMkenton
08/03/2021, 1:53 PMlist()
, they go into the existing options object. For others, it's a new parameter.)kenton
08/03/2021, 2:00 PMkenton
08/03/2021, 2:05 PMkenton
08/03/2021, 2:06 PMWallacy
08/03/2021, 3:22 PMHardAtWork
08/03/2021, 6:58 PMOBJECT_NAMESPACE.get(id).destroy()
)? Or a way to remotely force a reset of the DO from wrangler
, without having to delete and recreate the instance?kenton
08/03/2021, 7:06 PMstorage.deleteAll()
), then it will cease to exist once it shuts down.HardAtWork
08/03/2021, 7:07 PMkenton
08/03/2021, 7:07 PMkenton
08/03/2021, 7:08 PMHardAtWork
08/03/2021, 7:09 PMwrangler
too? I sometimes make some changes to my code that might leave fragments in storage, so I want to start from scratch, without manually having to built that logic into the DO code.albert
08/03/2021, 7:21 PMdeleteAll()
on a idFromName()
-object, can it migrate to a new PoP if created again?HardAtWork
08/03/2021, 7:22 PMdeleteAll()
function only works on this.state.storage
inside the Durable Object, not in the Worker itself.kenton
08/03/2021, 7:23 PMalbert
08/03/2021, 7:23 PMidFromName()
- my fault.HardAtWork
08/03/2021, 7:24 PMalbert
08/03/2021, 7:24 PMHardAtWork
08/03/2021, 7:24 PMwrangler publish --delete-class MyClass
, and wrangler publish --new-class MyClass
?HardAtWork
08/03/2021, 7:25 PMkenton
08/03/2021, 7:26 PMkenton
08/03/2021, 7:29 PMkenton
08/03/2021, 7:29 PMalbert
08/03/2021, 7:32 PMWallacy
08/03/2021, 7:41 PMkenton
08/03/2021, 7:58 PMctx.waitUntil()
doesn't actually do anything in particular anymore. The object keeps running for at least 30 seconds after the last request whether or not use use waitUntil().Wallacy
08/03/2021, 8:48 PMkenton
08/03/2021, 11:06 PM