Skip to content

Add async/await support #1

Description

@maxscheijen

Description:

Extend refire to support retrying asynchronous functions (async def). The decorator should work seamlessly with both sync and async functions.

Acceptance Criteria:

  • @refire works on async def functions.
  • Delay handling uses asyncio.sleep when inside an event loop.
  • Tests cover both sync and async retry scenarios.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions