#[main]Expand description
The #[celerix::main] attribute macro.
Place this on a function with signature fn(app: &mut celerix::App) to generate
all the Cloudflare Worker entry points (fetch, queue, scheduled) automatically.
§Example
ⓘ
#[celerix::main]
fn app(app: &mut celerix::App) {
app.get("/", || async { "Hello, World!" });
app.queue("my-queue", my_queue_handler);
app.scheduled(my_cron_handler);
}