Erlend
Erlend
> This worked in bun with typescript? That's undefined on c.env for me I'm using JavaScript. You could try the other method i mentioned (inside the `fetch` call)
Nice you found out! I did a `console.log(c)` to learn about the internals .. however not sure [env](https://hono.dev/api/context#env) is supposed to be used for this purpose??
I really like how this is done in [Elysia](https://elysiajs.com/patterns/websocket)
> Elysia has the advantage of supporting only Bun in this case .. I see. Hono has to do more work to support multiple runtimes. Maybe Elysia is a better...
> If you want to have "normal" websockets (with listeners) in Bun/hono I'd rather have the [7x performance](https://bun.sh/docs/api/websockets) by Bun :)
> Sure, but most libraries can't handle it. What libraries are you referring to? (I only need a simple web framework / library which can handle routes and WebSocket but...
Hi, i would also like to see some changes, i'll try to list them here: 1. The `_connection` should have the specific type given in the comment. ``` class Command...
Thanks for your feedback. I'm glad you are open to improve on these areas. I can try to add some PR's on these when i have time. I can try...
What is going on here? ``` Transaction(Command command) : super(command._connection) { _overrided_command = command; //we override his _connection, during transaction //it is best to point out where problem is command._connection...
I think it's perhaps better that you, as the author, does some initial refactoring. I'm not really familiar with the code base as is, neither with Redis.