This Week's Trending Top

This Month's Trending Top

This Year's Trending Top

Last Three Year's Trending Top

stefanchrobot
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
Benjamin-Philip
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
stratacast
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
visezoly
situation: I have a list of posts, each post is associated with many comments, I want to process each post in an Oban worker where for ...
New
csuriano23
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
ant
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
script
Inside the aliases in mix file. If we define migration command like this: defp aliases do [ "ecto.migrate": [ "ecto.migrate da...
New
KoeusIss
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
Darkoyd
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
Raees678
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
distefam
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
Eiji
[chat quote=“Myriam2002;2993;2024-05-22T08:49:27Z” channel=“Elixir Chat” channelId=“2” multiQuote=“true” chained=“true”] hey! I am new t...
New
l3nz
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
bluejack
In looking do a simple, but potentially slow task after the response has been delivered to the end user, I am looking for some lifecycle ...
New
ValtteriL
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

Trending Over Three Years Top

polypush135
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
beto
Hello, I am working on an task, that requires to parse a csv sent from a react frontend. When the backend receives it, it should make an ...
New
minhajuddin
I have written a blog post about a common misunderstanding about tasks Would love your inputs :slight_smile:
New
Qqwy
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
darkmarmot
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
samphilipd
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
nelson687
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
mustela
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
Qqwy
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 w...
New
foggy
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
alexandrubagu
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
fxn
I am writing a channel that receives certain events from mobile applications. When an event is received, it has to be stored in a data s...
New
nezzart
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 on...
New
Fl4m3Ph03n1x
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
debajit
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
  • Follow
  • Join
  • Shape
the conversation

Latest on Elixir Forum

Elixir Forum

Similar Portals

    None added yet

We're in Beta

About us Mission Statement