Hacker News new | ask | show | jobs
by neon_me 927 days ago
you want to get context (c) and its env inside function to get to R2 instance - in vanilla worker code it would be wrapped inside async fetch(request, env, ctx)