add timeout support for function invocations#9
Conversation
- Add timeout option to Supabase.Functions.invoke/3 - Support for custom timeout values (defaults to 15 seconds) - Pass timeout to underlying HTTP client via receive_timeout option - Maintain backward compatibility with existing API - Add comprehensive tests for timeout functionality - Update documentation with timeout examples Resolves supabase-community#4
|
thanks for the contribution! |
|
did you validate that only the as far as i know |
|
Thanks for your response Yeah receive timeout is not needed for now just added for future uses like passing messages between rpc and functions or inter messages and importantly chain requests If you don't need , tell me I will remove it |
|
ok, makes sense, but that is sufficient for implementing timeout? maybe we can add the request_timeout option too with the same value? wdyt? |
|
Good catch! Looking at Finch docs: Since we want comprehensive timeout support, I should add both. The current |
Add timeout option to Supabase.Functions.invoke/3
Support for custom timeout values (defaults to 15 seconds)
still its looks hard cuz js has native choices ,even super heros has some drawbacks
Resolves #4