This Week's Trending Top

This Month's Trending Top

This Year's Trending Top

Last Three Year's Trending Top

dantswain
Hi! I was wondering what patterns people have used for the following scenario. When the page first loads, spawn some (potentially long...
New
ug0
I have code to do bulk insert which looks like this: stream = build_attrs_stream() Repo.transaction(fn -> stream |> Stream.ch...
New
eileennoonan
Hi y’all - I’m working on using Rustler to create Elixir bindings for this extremely nifty embedded multimodal AI / vector database Lanc...
New
chitalepushkar
I am using the Sage library to perform a set of operations involving DB inserts and calling external APIs. The Sage.transaction uses Ecto...
New
AashishChakravarty
Hi, I am using Async Operations for nested data loading. I am getting this issue. [error] GenServer #PID<0.1134.0> terminating *...
New
artem
Hi all Context I am learning Elixir, Phoenix and LiveView by making a hobby project on yet another ChatGPT wrapper. I’ve got to a point...
New
boiserunner
Hi, Is there a way to preload %AsyncResult{}? My UI is a chat widget where the messages are an array of messages wrapped inside AsyncRes...
New
onnimonni
I saw the pattern of using Task.async inside a Liveview handler in this elixirconf talk https://youtu.be/TfZI5-oQSqI?si=KFsY-0Ne-HK99AHj ...
New
sezaru
The update_many/1 callback let’s you make your update call more efficient by handing all update calls from the same component type all at...
New
boiserunner
Hi there. I need to redirect the user from one LiveView to another after they click a button, but also do some work in the background. I ...
New
feviskus
Hello there, I inherited a rather complicated LiveComponent from a colleague: due to complex JS there’s no render/1 function, only updat...
New

Trending Over Three Years Top

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
thiagomajesk
Hello, again folks! I’ve been challenged by a problem this week and I’m not quite sure how to proceed to solve it. Also, I’ve spent a go...
New
TELunus
I seem to be having an issue making some code asynchronous. I’m running stream = Task.Supervisor.async_stream_nolink( Module....
New
PJUllrich
I’m currently playing around with GenServers and for a totally unrealistic, but still interesting problem, I wondered whether there is a ...
New
tfwright
I have a large amount of user data that I want to run some expensive analysis on every time the user makes a change. Obviously I don’t wa...
New
ahferroin7
Background I’m working on a Discord bot in Elixir that runs as two separate applications, the bot itself, and all the backend logic and d...
New
lud
All is in the title, but to clarify: It seems that if Task.yield returns {:ok, value} it means that the task result message was receive...
New
nikody
I have something similar to the following code: genserver_name = "cool_name" task = Task.async(fn -> MyModule.start() end) ...
New
mrcasals
Hi all! I’m starting my first project with Elixir and Phoenix. I have a function in a context that creates a record and fires some async...
New
sahilpaudel
Hi Everyone, I have controller that takes request with a CSV file & email_id in the parameter. What is does each read through each ...
New
Billzabob
During a database transaction, we are spawning a Task. The Task ends up querying the database itself, which leads to a race condition: th...
New
kannix
I am currently stuck with an implementation of a function that has to poll the Telegram API periodically and wait for a response from thi...
New
darkmarmot
I’m running batches of short-lived fire and forget tasks (I sometimes receive feedback from them). I can kill the tasks from within them...
New
darkmarmot
I’ve been using the Task and Task.Supervisor utilities, but haven’t found the best way to handle creating a non-blocking, unlinked async ...
New
rameshsharma
I am using Task.async to move a task in background. It is working fine in my local. But when the code is deployed to azure environment i...
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