# Elixir task timeout pitfall

**URL:** <https://forum.elixirforum.com/t/elixir-task-timeout-pitfall/2192>\
**Category:** Questions\
**Tags:** blog-posts, task, processes\
**Created:** [October 31, 2016, 12:01pm UTC](https://forum.elixirforum.com/t/elixir-task-timeout-pitfall/2192 "2016-10-31T12:01:55Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![benwilson512](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/benwilson512/32/1457_2.png) [@benwilson512](https://forum.elixirforum.com/u/benwilson512)\
**Post date:** [October 31, 2016, 12:35pm UTC](https://forum.elixirforum.com/t/elixir-task-timeout-pitfall/2192/2 "2016-10-31T12:35:31Z")

</div>

> it should show you that running in parallel with timeouts is not just a Task.await away.

That isn’t what this shows at all. This shows that if you want a timeout to apply to a group, you should write it to apply to a group. There’s even a function for it in the standard library: [http://elixir-lang.org/docs/master/elixir/Task.html#yield\_many/2](http://elixir-lang.org/docs/master/elixir/Task.html#yield_many/2)

---

_[View the full topic](https://forum.elixirforum.com/t/elixir-task-timeout-pitfall/2192)._
