Latest #asynchronous Threads Top

kurmetaubanov
Hello. I want to release sweet agent into the light, for this I want to start with the Elixir Forum and with Twitter. This agent works s...
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
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
sezaru
LiveBulkAsync is a small library that extends LiveView’s async support to work with LiveComponent’s update_many function. My main use ca...
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
scherrey
When using Phoenix.Pubsub.Subscribe and having a large number of subscribers to the same event (3k+), is there a single process pushing a...
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
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
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
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

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
scherrey
When using Phoenix.Pubsub.Subscribe and having a large number of subscribers to the same event (3k+), is there a single process pushing a...
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
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
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
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
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
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

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
archan937
It is a well-know topic within the Elixir community: “To mock or not to mock? :)” Every alchemist probably has his / her own opinion con...
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
akash-akya
Exile is an alternative to beam ports for running external programs. It provides back-pressure using non-blocking io, and tries to fix al...
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
dopatraman
I’m looking for clarity on the benefits of GenServers. At first I thought they could be used to process asynchronous work via handle_case...
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
mmport80
Async init call seems like a bad idea… Perhaps it’s sometimes necessary, just as cutting ones arm off might be in extreme situations ; ) ...
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

Options

Thread Display Mode




Thread Preview

Skip Thread Previews