addAllDelegates<Q, R> abstract method

void addAllDelegates<Q, R>(
  1. Iterable<WorkerDelegate<Q, R>> delegates
)

Adds new multiple WorkerDelegates.

Each of the delegates should have its unique key, meaning two or more WorkerDelegate with the same key cannot be added. Otherwise it will throw AssertionError on debug mode.

Implementation

void addAllDelegates<Q, R>(Iterable<WorkerDelegate<Q, R>> delegates);