lukeed
08/14/2021, 1:18 AMlukeed
08/14/2021, 1:19 AMwaitUntil
from X instead of from Y serves no benefit to meErwin
08/14/2021, 1:21 AMlukeed
08/14/2021, 1:25 AMlukeed
08/14/2021, 1:25 AMErwin
08/14/2021, 1:26 AMlukeed
08/14/2021, 1:29 AMErwin
08/14/2021, 1:37 AMlukeed
08/14/2021, 1:42 AMmikeysee
08/14/2021, 8:39 AMMrBBot
08/14/2021, 9:44 AMstate
parameter passed to the constructor: https://developers.cloudflare.com/workers/runtime-apis/durable-objects#durable-object-class-definition
js
export class DurableObject {
constructor(state, env){
this.id = state.id;
}
async fetch(request) {
return new Response(this.id.toString());
}
}
mikeysee
08/14/2021, 9:58 AMmikeysee
08/14/2021, 10:05 AMMrBBot
08/14/2021, 10:06 AMmikeysee
08/14/2021, 10:07 AMWalshy | Pages
08/14/2021, 10:08 AMmikeysee
08/14/2021, 10:09 AMWalshy | Pages
08/14/2021, 10:10 AMmikeysee
08/14/2021, 10:10 AMDeleted User
08/14/2021, 10:32 AMItsWendell
08/14/2021, 12:00 PMDeleted User
08/14/2021, 12:12 PMDeleted User
08/14/2021, 12:13 PMDeleted User
08/14/2021, 12:13 PMDeleted User
08/14/2021, 12:14 PMItsWendell
08/14/2021, 12:23 PMDeleted User
08/14/2021, 12:24 PMItsWendell
08/14/2021, 12:25 PM/increment?key=counter:ID&amount=43221
ItsWendell
08/14/2021, 12:26 PMDeleted User
08/14/2021, 12:26 PM