Wild. I bet it's similar for Astro. I just can't find the worker adapter that's special. I might be
Wild. I bet it's similar for Astro. I just can't find the worker adapter that's special. I might be special, too 


import { DurableObject } from "cloudflare:workers";
export class Counter extends DurableObject<Env> {
async getCounterValue() {
const value: number = (await this.ctx.storage.get("value")) || 0;
return value;
}
}