This sounds like a useful feature request to me. I’m curious what your implementation would look like, feel free to open a feature request issue for this if one does not already exist and to loop me in on draft PR if you come up with an implementation.
This would very much be a concurrent.futures.ProcessPoolExecutor
exclusive feature; it is not possible to do this safely and reliably with threads.