AbstractProtectedctxProtectedenvProtected AbstractconfigureConfigure the Application.
Access this.env and this.ctx for environment-dependent config.
OptionalemailHandle HTTP requests via RouterService. Override for custom request handling.
ProtectedgetGet or initialize the Application singleton. Handles concurrent initialization guards automatically.
Handle queue batches. Override for custom queue handling.
Handle scheduled cron triggers. Override for custom scheduled handling.
OptionaltailOptionaltailOptionaltestOptionaltrace
Base class for Cloudflare Workers using the modules framework. Handles Application singleton management and provides default handlers.
Example