public/cloudflare_workers library
Classes
Properties
-
globalDartEmailHandler
← Promise<
void> Function(EmailMessage message, Environment env, ExecutionContext ctx) -
no getter
-
globalDartFetchHandler
← Promise<
Response> Function(Request req, Environment env, ExecutionContext ctx) -
no getter
-
globalDartScheduledHandler
← Promise<
void> Function(ScheduledEvent event, Environment env, ExecutionContext ctx) -
no getter
- globalDurableObjects ← dynamic
-
no getter
Functions
-
attachDurableObjects(
CloudflareWorkersDurableObjects instances) → void -
attachEmailHandler(
CloudflareWorkersEmailEvent handler) → void -
attachFetchHandler(
CloudflareWorkersFetchEvent handler) → void -
attachScheduledHandler(
CloudflareWorkersScheduledEvent handler) → void
Typedefs
-
CloudflareWorkersDurableObjects
= Map<
String, DurableObject Function()> -
CloudflareWorkersEmailEvent
= FutureOr<
void> Function(EmailMessage message, Environment env, ExecutionContext ctx) -
CloudflareWorkersFetchEvent
= FutureOr<
Response> Function(Request request, Environment env, ExecutionContext ctx) -
CloudflareWorkersScheduledEvent
= FutureOr<
void> Function(ScheduledEvent event, Environment env, ExecutionContext ctx)