# \#tasks

**URL:** https://forum.elixirforum.com/tag/tasks/2084.md

[Latest](https://forum.elixirforum.com/latest.md) · [Categories](https://forum.elixirforum.com/categories.md) · [Tags](https://forum.elixirforum.com/tags.md)

---

## [Using \`Mix.install/2\` to fetch dependencies from GitHub](https://forum.elixirforum.com/t/using-mix-install-2-to-fetch-dependencies-from-github/63725)

<div class="topic-metadata">

**Author:** [@Eiji](https://forum.elixirforum.com/u/Eiji)\
**Replies:** 0\
**Last updated:** [May 22, 2024, 2:25pm UTC](https://forum.elixirforum.com/t/using-mix-install-2-to-fetch-dependencies-from-github/63725 "2024-05-22T14:25:09Z")

</div>

\[chat quote=“Myriam2002;2993;2024-05-22T08:49:27Z” channel=“Elixir Chat” channelId=“2” multiQuote=“true” chained=“true”\] hey! I am new to this community :slight\_smile: I am having trouble with versions and dependencies…

---

## [Can't use Task.async within LiveView?](https://forum.elixirforum.com/t/cant-use-task-async-within-liveview/32940)

<div class="topic-metadata">

**Author:** [@exjutsu](https://forum.elixirforum.com/u/exjutsu)\
**Replies:** 7\
**Last updated:** [December 1, 2023, 6:49pm UTC](https://forum.elixirforum.com/t/cant-use-task-async-within-liveview/32940 "2023-12-01T18:49:49Z")

</div>

I’m hoping you can help me to understand a strange issue that I’m experiencing. I’m going through some of the tutorials on the Pragmatic Studio for LiveView and in one of the lessons it illustrates updating the page usin…

---

## [Mix.Task.run("app.config") prevents mix task code from being loaded](https://forum.elixirforum.com/t/mix-task-run-app-config-prevents-mix-task-code-from-being-loaded/57801)

<div class="topic-metadata">

**Author:** [@lud](https://forum.elixirforum.com/u/lud)\
**Replies:** 2\
**Last updated:** [August 28, 2023, 9:05am UTC](https://forum.elixirforum.com/t/mix-task-run-app-config-prevents-mix-task-code-from-being-loaded/57801 "2023-08-28T09:05:43Z")

</div>

On Elixir 1.15, calling Mix.Task.run("app.config") prevents calling other modules from my tool. The tool is installed globally with mix archive.install --force. In my task run/1 callback, if I call some other module be…

---

## [Why wont application supervisor restart a task on its own?](https://forum.elixirforum.com/t/why-wont-application-supervisor-restart-a-task-on-its-own/53122)

<div class="topic-metadata">

**Author:** [@overcomeoj](https://forum.elixirforum.com/u/overcomeoj)\
**Replies:** 1\
**Last updated:** [January 12, 2023, 4:58am UTC](https://forum.elixirforum.com/t/why-wont-application-supervisor-restart-a-task-on-its-own/53122 "2023-01-12T04:58:56Z")

</div>

I am working through the elixir-lang getting started guide and I am confused why a task assigned to the supervision tree wont restart automatically. def start(\_type, \_args) do children = \[ {Task, fn -\> KVS…

---

## [Loading resources concurrently](https://forum.elixirforum.com/t/loading-resources-concurrently/51029)

<div class="topic-metadata">

**Author:** [@shiroyasha](https://forum.elixirforum.com/u/shiroyasha)\
**Replies:** 6\
**Last updated:** [October 16, 2022, 7:20am UTC](https://forum.elixirforum.com/t/loading-resources-concurrently/51029 "2022-10-16T07:20:34Z")

</div>

One common pattern I encounter in the codebases that our team is maintaining is loading several resources concurrently. Often these resources depend on each other in a way that you need to load resource A before you can …

---

## [Nesting Task.Supervisor.async\_stream bad idea?](https://forum.elixirforum.com/t/nesting-task-supervisor-async-stream-bad-idea/49812)

<div class="topic-metadata">

**Author:** [@CherryPoppins](https://forum.elixirforum.com/u/CherryPoppins)\
**Replies:** 3\
**Last updated:** [August 26, 2022, 5:40pm UTC](https://forum.elixirforum.com/t/nesting-task-supervisor-async-stream-bad-idea/49812 "2022-08-26T17:40:09Z")

</div>

So im looking to do something like below where I get a list of posts from the db and then run an api call on each post's comments and i want it to all happen as concurrently as possible. Is nesting task bad practice? d…

---

## [Problem async Tasks from other module](https://forum.elixirforum.com/t/problem-async-tasks-from-other-module/46379)

<div class="topic-metadata">

**Author:** [@hernancuy](https://forum.elixirforum.com/u/hernancuy)\
**Replies:** 4\
**Last updated:** [March 4, 2022, 3:09pm UTC](https://forum.elixirforum.com/t/problem-async-tasks-from-other-module/46379 "2022-03-04T15:09:45Z")

</div>

Hello everybody, I’m creating an app service aggregator, I created some modules, my idea it’s one module create tasks and inside other module create the await and select only one task, after you select one task you will…

---

## [Task for requests HTTP](https://forum.elixirforum.com/t/task-for-requests-http/44936)

<div class="topic-metadata">

**Author:** [@devfabiofreitas](https://forum.elixirforum.com/u/devfabiofreitas)\
**Replies:** 2\
**Last updated:** [December 31, 2021, 4:42pm UTC](https://forum.elixirforum.com/t/task-for-requests-http/44936 "2021-12-31T16:42:23Z")

</div>

hello, i have the following problem: I need to make http requests for a given site with thousands of pages. just stop the requests when the response returns {\_page,} I was able to make the code without using concurrenc…

---

## [Receive from Task.start\_link?](https://forum.elixirforum.com/t/receive-from-task-start-link/33170)

<div class="topic-metadata">

**Author:** [@vrod](https://forum.elixirforum.com/u/vrod)\
**Replies:** 3\
**Last updated:** [March 18, 2021, 7:39am UTC](https://forum.elixirforum.com/t/receive-from-task-start-link/33170 "2021-03-18T07:39:12Z")

</div>

I have something that takes a long time, so I used Task.start\_link/1 in production so the user will not wait for this to complete (it’s ok if it takes a long time) Task.start\_link(fn -\> do\_work() end) However, do\_work …

---

## [Clarification on ordered for Task.async\_stream](https://forum.elixirforum.com/t/clarification-on-ordered-for-task-async-stream/34482)

<div class="topic-metadata">

**Author:** [@vrod](https://forum.elixirforum.com/u/vrod)\
**Replies:** 5\
**Last updated:** [September 21, 2020, 1:39pm UTC](https://forum.elixirforum.com/t/clarification-on-ordered-for-task-async-stream/34482 "2020-09-21T13:39:41Z")

</div>

I have another question about concurrency in Elixir I hope someone can help me understand. I have been studying the Task module. I am reading the documentation for the Task.async\_stream/5 Task — Elixir v1.20.2 but I a…

---

## [Good solution to launch asynchronous tasks with rate limiting](https://forum.elixirforum.com/t/good-solution-to-launch-asynchronous-tasks-with-rate-limiting/30405)

<div class="topic-metadata">

**Author:** [@fchabouis](https://forum.elixirforum.com/u/fchabouis)\
**Replies:** 2\
**Last updated:** [April 6, 2020, 3:52pm UTC](https://forum.elixirforum.com/t/good-solution-to-launch-asynchronous-tasks-with-rate-limiting/30405 "2020-04-06T15:52:09Z")

</div>

Hello, This is my first question here, please let me know if it can be improved. Every night, I would like my server to run a validation process on a number of urls. It computes some hash, download some data, validate …

---

## [Tasks vs GenServer](https://forum.elixirforum.com/t/tasks-vs-genserver/27864)

<div class="topic-metadata">

**Author:** [@venomnert](https://forum.elixirforum.com/u/venomnert)\
**Replies:** 8\
**Last updated:** [December 29, 2019, 7:35pm UTC](https://forum.elixirforum.com/t/tasks-vs-genserver/27864 "2019-12-29T19:35:33Z")

</div>

Hey Everyone, hope everyone had a great Christmas and successful boxing day :grin:! Context: I want to each client to to be able to create send multiple emails. After multiple iterations I have landed on the following d…
