Interface SchedulerMultiWorkerSupport

    • Method Detail

      • createWorkers

        void createWorkers​(int number,
                           @NonNull
                           @NonNull SchedulerMultiWorkerSupport.WorkerCallback callback)
        Creates the given number of Scheduler.Worker instances that are possibly backed by distinct threads and calls the specified Consumer with them.
        Parameters:
        number - the number of workers to create, positive
        callback - the callback to send worker instances to