I really don't get it, let me clarify my misconception, how they can allow sending free email? is th
I really don't get it, let me clarify my misconception, how they can allow sending free email? is there any limit?

ctx.waitUntil(foo()) not ctx.waitUntil(await foo())
waitUntil will keep your Worker alive, after returning a Response, until the promise resolves.canceled or daemon_down
ctx.waitUntil(foo())ctx.waitUntil(await foo())waitUntilResponsecanceleddaemon_downasync function doStuff() {
await scheduler.wait(1000);
console.log('foo');
}
export default {
async fetch(req, env, ctx) {
ctx.waitUntil(doStuff());
return new Response('bar');
}
}export default {
async fetch(req, env, ctx) {
ctx.waitUntil(doStuff());
console.log('bar')
return new Response(null);
}
}bar
13:29:15 GET / 200
fooexport default {
async fetch(req, env, ctx) {
ctx.waitUntil(await doStuff());
console.log('bar')
return new Response(null);
}
}foo
bar
13:30:16 GET / 200