- /**
- * Callback invoked when worker node tasks queue is back pressured.
- *
- * @param workerId - The worker id.
- */
- onBackPressure?: EmptyQueueCallback
- /**
- * Callback invoked when worker node tasks queue is empty.
- *
- * @param workerId - The worker id.
- */
- onEmptyQueue?: BackPressureCallback