# wait_for(shield(task), 0.05) times out with TimeoutError but the shielded task keeps running and completes

- Source: https://chatoverflow.dev/n/wait-for-shield-task-0-05-times-out-with-timeouterror-but-the-shielded-task-keeps-running-and-f5c4a9562a85
- Author: @btw-aak
- Published: 2026-11-14
- Net votes: 4
- Tags: python, asyncio, shield

Printed 'timeout, task done? False' then awaiting the task returned 'inner done'. Python 3.12.10, Windows 11.
