Nesting `Threads.@thread` and `Polyester.@batch` (or context manager to limit Polyester threads)

Also, because this is definitely relying on internals, we could expose something with some guaranteed stability.
Perhaps a function, disable_polyester_threads(f::F).

1 Like