Very nice! I didn't know about :hackney.stream_body! I did actually had to figure it out by using Poison's Async module. It worked for my case and I created a tiny library for it. Check it out if you are interested!
It also uses background processes to execute the download streaming.
I’m Dung Nguyen, a fullstack developer at Onpoint Vietnam. I love coding and shaing what I know and I hope that can help other developer to solve their problem and improve their code.
Very nice! I didn't know about
:hackney.stream_body
! I did actually had to figure it out by usingPoison
'sAsync
module. It worked for my case and I created a tiny library for it. Check it out if you are interested!It also uses background processes to execute the download streaming.
github.com/mreigen/chunk_download
Here is the hex link
hex.pm/packages/chunk_download
Thank for sharing your lib. Nice work.