Assign_async and liveview streams

For anyone find this thread in the future, it is similar to https://elixirforum.com/t/support-async-operations-with-liveview-streams/59863/8.

Personally, I found it to be okay to use both AsyncResult, start_async and stream in the same LiveView together.

AsyncResult and the async_result component make loading and error states easy to represent, and can serve to carry ancillary data like counts or other book-keeping.

The stream, then, is solely responsible for shipping data to the client efficiently.

3 Likes