I would like to use the
FileDownloader widget with a callback but instead of returning an entire file-like object, I would to return a generator over byte chunks such that the output is streamed. Is this already somehow possible?
This is important to me because I want to stream large data from another location through the Panel app without storing everything locally in memory. If it’s not possible, I guess, I have to embed Panel inside FastAPI or so and provide an endpoint there.