Latest #task Threads 
How to make Task.async_stream return results as they are ready?
I have the following code:
defmodule Demo do
def run do
child =
...
New
this is my current project structure, the get request has a field that needs external validation
the idea is the endpint dispatch the va...
New
I’m starting to get deeper into the subtleties of supervisors and I could use some help understanding how and when to restart failed task...
New
Hello,
I have been playing with a pmap (parallel map) implementation, for a task that seems easy: to run a series of functions in parall...
New
Just wanting to make sure… there are a handful of functions in the Task module that support different arities, e.g. Task.start/1 vs. Task...
New
Originally sent in Elixir Chat
Myriam2002
hey! I am new to this community :) I am having trouble with versions and dependencies ...
New
I am extending an existing application to allow users to be able to write and send newsletters and struggling with determining a proper s...
New
I’m curious why when I use the Enum.map/2 function, parallelizing it with a Task doesn’t make it run faster, but rather makes it run slow...
New
Hello everyone,
I am fairly new to Elixir and so far I’ve had a blast.
As part of an academic assignment I’ve been tasked with implemen...
New
I have a list of events coming from an event bus let’s assume the form like this:
%ProcucerEvents{
id: 1,
events: [
%Event{id: ...
New
This Week's Trending
This Month's Trending
This Year's Trending
Last Three Year's Trending
I need to:
do some asynchronous work concurrently
kill the work when the parent GenServer exits
be able to specify the timeout
do some ...
New
Suppose I have the following function:
def foo, do: IO.puts "Foobar"
I want to run it a minute after some work done in my function:
de...
New
I’m trying to name a supervised, permanent task so I can find it easier. What’s the best way to go about this? I tried out this right her...
New
Hi there,
I have a phoenix controller from which I spawn a Task with Task.Supervisor.start_child for some async processing.
I’d like to...
New
I have a genserver that wants to spawn multiple tasks (in this case multiple api calls to different services) and wait for all of them to...
New
I’m curious why when I use the Enum.map/2 function, parallelizing it with a Task doesn’t make it run faster, but rather makes it run slow...
New
Inside the aliases in mix file. If we define migration command like this:
defp aliases do
[
"ecto.migrate": [
"ecto.migrate da...
New
I have a list of events coming from an event bus let’s assume the form like this:
%ProcucerEvents{
id: 1,
events: [
%Event{id: ...
New
I have a two part question concerning a module like so:
defmodule AsyncAwait do
defp long_running_task(id) do
Process.sleep(5_000)...
New
Hello everyone,
I am fairly new to Elixir and so far I’ve had a blast.
As part of an academic assignment I’ve been tasked with implemen...
New
I am extending an existing application to allow users to be able to write and send newsletters and struggling with determining a proper s...
New
Originally sent in Elixir Chat
Myriam2002
hey! I am new to this community :) I am having trouble with versions and dependencies ...
New
Hello,
I have been playing with a pmap (parallel map) implementation, for a task that seems easy: to run a series of functions in parall...
New
How to make Task.async_stream return results as they are ready?
I have the following code:
defmodule Demo do
def run do
child =
...
New
this is my current project structure, the get request has a field that needs external validation
the idea is the endpint dispatch the va...
New
Trending Over Three Years
As many of you may have realized by now (sorry for all the posts here) I’ve been working on a db problem where I’m trying to aggregate a ...
New
I have written a blog post about a common misunderstanding about tasks
Would love your inputs :slight_smile:
New
I am working on a simple introduction talk to OTP. One of the things I myself am wondering about, however, is when Agent is useful and wh...
New
I am kicking off a large number of GenServer calls to actors, each within an async Task.
If one of the GenServer processes dies, I get a...
New
I’m building a postgres-backed job queue for Elixir. The way I have it setup, I have a JobDispatcher that polls the DB every N millisecon...
New
Been reading the Hex docs but it’s still not very clear to me.
I can see this
Task.yield/2 is an alternative to await/2 where the call...
New
Hey all!
Im wondering if anyone have a good example or could help me understand how should I test an async task.
The closer I found was...
New
The more I read about Elixir's and Erlang's actor-model-based functionality, the more I am in love.
One thing I am wondering about, is ...
New
I have a simple module that, when invoked, lists all records in a table.
defmodule App.Adapter do
alias App.Repo
def list_all(model...
New
Hi,
I want to handle the following exit example ( String.to_integer(input) is jus an example and can be replaced with raise). This happe...
New
I've read on GenServer, but am not able yet to use it because not everything yet makes sense to me.
I want this: - when a user clicks...
New
Background
I have been reading Elixir in Action and I have noticed that in an example, the author decides to forgo Tasks and use pools.
...
New
I'm trying to convert a directory of Markdown files into HTML, and I'm trying to do it concurrently with Task.async_stream. Here is the c...
New
I want to create a bunch of background jobs dynamically. A job should run at most N minutes, strictly, and then kill itself. It'll check...
New
Hi!
ParallelTask on Github
I'm quite new to the Elixir community and so far hooked on the language and ecosystem. Today I read a nice...
New
Latest on Elixir Forum
Get money off!
The Pragmatic Bookshelf
35% off any eBook
Manning Publications
45% off any item
ElixirCasts
10% off for life
The Pragmatic Studio
20% off any course
AppSignal
10% off for 12 months
Honeybadger
10% off for 12 months
Simply use coupon code "devtalk.com" or "elixirforum" at checkout!
Filter by Type:
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #ash-questions
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #exunit
- #discussion
- #javascript
- #elixirconf
- #library
- #oban-questions
- #dialyzer
- #docker
- #onsite
- #authentication
- #podcasts
- #full-time-contract
- #umbrella
- #code-sync
- #ecto-query
- #phoenix_html
- #iex
- #graphql
- #genstage
- #elixir-ls
- #nerves-questions
- #podcasts-by-brainlid
- #supervisor
- #websockets
- #distillery
- #advent-of-code
- #blog-post
- #livebook-questions
- #processes
- #forms
- #api
- #metaprogramming







