Generate a batch of systems and return the bodies that answer a query.
This is the expensive one. Generating a system is milliseconds and matching a body is microseconds, so the cost is the batch size times the generator — which is exactly why it is here rather than on the main thread, and why the caller is expected to submit several of these at once.
packages/workers/src/tasks.ts:615