Skip to main content

Interface: InstrumentedDOProject

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

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

connect?

optional connect: ExportedHandlerConnectHandler<unknown, unknown>

Defined in: testing/test/integration/worker-configuration.d.ts:465

Inherited from

ExportedHandler.connect


dos

dos: Record<string, any>

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

Instrumented DO classes keyed by their names

Example

{ MyDO: InstrumentedMyDO, AnotherDO: InstrumentedAnotherDO }

email?

optional email: EmailExportedHandler<unknown, unknown>

Defined in: testing/test/integration/worker-configuration.d.ts:471

Inherited from

ExportedHandler.email


fetch?

optional fetch: ExportedHandlerFetchHandler<unknown, unknown, unknown>

Defined in: testing/test/integration/worker-configuration.d.ts:464

Inherited from

ExportedHandler.fetch


queue?

optional queue: ExportedHandlerQueueHandler<unknown, unknown, unknown>

Defined in: testing/test/integration/worker-configuration.d.ts:472

Inherited from

ExportedHandler.queue


scheduled?

optional scheduled: ExportedHandlerScheduledHandler<unknown, unknown>

Defined in: testing/test/integration/worker-configuration.d.ts:469

Inherited from

ExportedHandler.scheduled


tail?

optional tail: ExportedHandlerTailHandler<unknown, unknown>

Defined in: testing/test/integration/worker-configuration.d.ts:466

Inherited from

ExportedHandler.tail


tailStream?

optional tailStream: ExportedHandlerTailStreamHandler<unknown, unknown>

Defined in: testing/test/integration/worker-configuration.d.ts:468

Inherited from

ExportedHandler.tailStream


test?

optional test: ExportedHandlerTestHandler<unknown, unknown>

Defined in: testing/test/integration/worker-configuration.d.ts:470

Inherited from

ExportedHandler.test


trace?

optional trace: ExportedHandlerTraceHandler<unknown, unknown>

Defined in: testing/test/integration/worker-configuration.d.ts:467

Inherited from

ExportedHandler.trace


worker

worker: ExportedHandler

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

Instrumented worker with RPC routing