Interface ProgressWorker.BuilderFactory

Enclosing class:
ProgressWorker<T,V>

public static sealed interface ProgressWorker.BuilderFactory

Provides builders for a given task type.

If the task also implements the corresponding handler interface (e.g. ProgressWorker.TaskHandler, ProgressWorker.ResultTaskHandler), the handler methods are automatically wired first. Additional handlers can then be added via the returned ProgressWorker.Builder, and are called after the handler interface methods, in the order they were added.