wecounsel / rudder

A RudderStack Client for Elixir
MIT License
2 stars 0 forks source link

[Suggestion] Make calls async #4

Open coladarci opened 2 years ago

coladarci commented 2 years ago

Love this library - about to do a rudderstack install and was glad to see this, nice work.

Thoughts on wrapping the logic in Client.send with Task.async(fn ->? Making synchronous http calls feels excessively heavy and brittle.

A very cool feature down the line would be implementing a genserver that can use the rudderstack batch api to send things together, in batches, as well..

🙌🏻

themusicman commented 2 years ago

Thanks. There are plans to use allow for both sync and async calls. I like the idea of using a genserver for the batch processing.