Creating custom webhooks
Hello, I'm trying to figure out how to create custom webhooks in Hono. I couldn't find any documentation on this topic. Does anyone have any direction? I have a long running function at one of my endpoints and want to allow users to subscribe to this endpoint and be told when it's done. This is achievable in Hono, right?
4 Replies
can't you do it with streams?
You can use SSE maybe - https://hono.dev/docs/helpers/streaming#streamsse
Streaming Helper - Hono
Ultrafast web framework for Cloudflare Workers, Fastly Compute, Deno, Bun, Vercel, Node.js, and others. Fast, but not only fast.
basically what @Kutup Tilkisi is saying
I'll look into that, thank you!