Skip to content

Async timeout and retry wrappers#1367

Open
TristonianJones wants to merge 1 commit into
cel-expr:masterfrom
TristonianJones:async-helpers
Open

Async timeout and retry wrappers#1367
TristonianJones wants to merge 1 commit into
cel-expr:masterfrom
TristonianJones:async-helpers

Conversation

@TristonianJones

Copy link
Copy Markdown
Collaborator

Introduce support for Timeout and Retry wrappers for async functions.

  • Timeout ensures requests are cancelled even if the async call does not honor context cancellation
  • Retry supports fixed number retries at fixed intervals using the RetryableError interface as a basis
    for determining whether to retry the request.

For HTTP requests, the expectation is that the async function wrapper will inspect the response code
and surface a types.Err for non-OK responses.

@TristonianJones TristonianJones changed the title async: Introduce Timeout and Retry wrappers Async timeout and retry wrappers Jul 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant