Maybe you want a Channel and a Task that reads from it. Instead of, or in addition to, adding your filenames to a vector, put! them on a Channel.
https://docs.julialang.org/en/v1/manual/asynchronous-programming/
Maybe you want a Channel and a Task that reads from it. Instead of, or in addition to, adding your filenames to a vector, put! them on a Channel.
https://docs.julialang.org/en/v1/manual/asynchronous-programming/