Skip to main content

Interface: InstrumentedDOProject

Defined in: packages/testing/src/instrument-do-project.ts:52

Result of instrumenting a DO project This is both an ExportedHandler (for default export) and has DO classes as properties

Extends

  • ExportedHandler

Indexable

[key: string]: any

Properties

dos

dos: Record<string, any>

Defined in: packages/testing/src/instrument-do-project.ts:62

Instrumented DO classes keyed by their names

Example

{ MyDO: InstrumentedMyDO, AnotherDO: InstrumentedAnotherDO }

email?

optional email: EmailExportedHandler<unknown>

Defined in: packages/testing/worker-configuration.d.ts:366

Inherited from

ExportedHandler.email


fetch?

optional fetch: ExportedHandlerFetchHandler<unknown, unknown>

Defined in: packages/testing/worker-configuration.d.ts:360

Inherited from

ExportedHandler.fetch


queue?

optional queue: ExportedHandlerQueueHandler<unknown, unknown>

Defined in: packages/testing/worker-configuration.d.ts:367

Inherited from

ExportedHandler.queue


scheduled?

optional scheduled: ExportedHandlerScheduledHandler<unknown>

Defined in: packages/testing/worker-configuration.d.ts:364

Inherited from

ExportedHandler.scheduled


tail?

optional tail: ExportedHandlerTailHandler<unknown>

Defined in: packages/testing/worker-configuration.d.ts:361

Inherited from

ExportedHandler.tail


tailStream?

optional tailStream: ExportedHandlerTailStreamHandler<unknown>

Defined in: packages/testing/worker-configuration.d.ts:363

Inherited from

ExportedHandler.tailStream


test?

optional test: ExportedHandlerTestHandler<unknown>

Defined in: packages/testing/worker-configuration.d.ts:365

Inherited from

ExportedHandler.test


trace?

optional trace: ExportedHandlerTraceHandler<unknown>

Defined in: packages/testing/worker-configuration.d.ts:362

Inherited from

ExportedHandler.trace


worker

worker: ExportedHandler

Defined in: packages/testing/src/instrument-do-project.ts:56

Instrumented worker with RPC routing