hi, is there a way to clear a queue (that's not via dashboard)
hi, is there a way to clear a queue (that's not via dashboard)
k items every n seconds within a given topic. DOs satisfy this use case for now though 

await env.MY_QUEUE.send(msg, { deliveryDelay: 600 }) on the producer side, and retry delays on the consumer side - e.g. messages.batch.retryAfter(300) or .retryAfter(seconds: number) on a per-message basis. API not final.33ba9f42ca7b9084cf895328953209aae9da953df1a8d8f32f3832fe56env.DO.idFromString() to transform to a DO idthis. should just be env.. But whats the error if thats what you have?unstable_dev work with queues? I've got 2 workers locally, one setup as consumer, one as producer. When the producer sends into the queue, the consumer does not react. Is this supposed to work in local dev?Service Temporarily Unavailablekawait env.MY_QUEUE.send(msg, { deliveryDelay: 600 })messages.batch.retryAfter(300).retryAfter(seconds: number)33ba9f42ca7b9084cf895328953209aae9da953df1a8d8f32f3832fe56env.DO.idFromString()this.env.let userid = this.env.USER.idFromName(uid)
let user = this.env.USER.get(userid);
let brand = await user.GetBrand()let userid = this.env.USER.idFromString(uid)
let user = this.env.USER.get(userid);
let brand = await user.GetBrand()console.log(JSON.stringify(user))unstable_devlet user = proxyDurable(this.env.USER, { name: "USER", parse: true })user.get(uid)Service Temporarily Unavailableexport default {
async queue(batch: MessageBatch<any>, env: Bindings, ctx: ExecutionContext) {
const stub = env.TestDO.get(env.TestDO.idFromName('1'))
const response = await stub.fetch('https://fake-host/', {})
}
}