Home / Class/ MyDurableObject Class — astro Architecture

MyDurableObject Class — astro Architecture

Architecture documentation for the MyDurableObject class in worker.ts from the astro codebase.

Entity Profile

Dependency Diagram

graph TD
  0a3449d5_668b_bd0b_2d8e_4cf69ef9c7ab["MyDurableObject"]
  fdeb3778_c429_a272_fbd4_14d8961f08a8["worker.ts"]
  0a3449d5_668b_bd0b_2d8e_4cf69ef9c7ab -->|defined in| fdeb3778_c429_a272_fbd4_14d8961f08a8
  795abf6c_afb1_0b6d_789f_befdec1227d4["constructor()"]
  0a3449d5_668b_bd0b_2d8e_4cf69ef9c7ab -->|method| 795abf6c_afb1_0b6d_789f_befdec1227d4

Relationship Graph

Source Code

packages/integrations/cloudflare/test/fixtures/custom-entryfile/src/worker.ts lines 4–9

export class MyDurableObject extends DurableObject<Env> {
  constructor(ctx: DurableObjectState, env: Env) {
    // Required, as we're extending the base class.
    super(ctx, env)
  }
}

Frequently Asked Questions

What is the MyDurableObject class?
MyDurableObject is a class in the astro codebase, defined in packages/integrations/cloudflare/test/fixtures/custom-entryfile/src/worker.ts.
Where is MyDurableObject defined?
MyDurableObject is defined in packages/integrations/cloudflare/test/fixtures/custom-entryfile/src/worker.ts at line 4.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free