Readonly
flushProcess the batch now by calling the processing function, unless the batch is empty or already running. If the processing function exits without fully emptying the batch (due to errors, time limits, etc.), another flush will be scheduled via the batch's scheduler (unless one is already scheduled).
A generic batch processing queue, implemented as a set. (So items are processed at most once per batch run.)