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.
Description:
Extend refire to support retrying asynchronous functions (async def). The decorator should work seamlessly with both sync and async functions.
Acceptance Criteria:
@refireworks onasync deffunctions.asyncio.sleepwhen inside an event loop.