Is it possible to have nested batches (e.g. batch_set()/batch_process())?
Use case is: I scan a directory for JSON files, then for each file (first batch) I read in a bunch of arrays. For each array (second batch) I read in a bunch of keys and values, some of which are further arrays. For each of those sub-arrays (third batch) I continue the process (reading in more keys/values).
Each array in the JSON files will become a node, and each sub-array will be a paragraph item in that node.
Wondering how best to handle this with Batch API...