title: From concurrent.futures to asyncio
body: <p>I have two problems with <a href="https://docs.python.org/3/library/concurrent.futures.html" rel="noreferrer">concurrent.futures</a>:</p>
  
  <h1>How to break time.sleep() in a python concurrent.futures?</h1>
  
  <p>Conclusion: time.sleep() cannot be interrupted. One solution is: You can write a loop around it and do short sleeps.</p>
  
  <p>See <a href="https://stackoverflow.com/questions/38461603/how-to-break-time-sleep-in-a-python-concurrent-futures">How to break time.sleep() in a python concurrent.futures</a></p>
  
  <h1>Individual timeouts for concurrent.futures?</h1>
  
  <p>Conclusion: individual timeouts need to implemented by the user. For example: for each timeout you  can call to <a href="https://docs.python.org/3/library/concurrent.futures.html#concurrent.futures.wait" rel="noreferrer">wait()</a>.</p>
  
  <p>See  <a href="https://stackoverflow.com/questions/38456357/individual-timeouts-for-concurrent-futures">Individual timeouts for concurrent.futures</a></p>
  
  <h1>Question</h1>
  
  <p>Does <a href="https://docs.python.org/3/library/asyncio.html" rel="noreferrer">asyncio</a> solve theses problems?</p>