refactor: 添加一个泛型接收

This commit is contained in:
kyle 2023-02-01 20:42:38 +08:00
parent e56521caf3
commit 12e29c5ee8

View File

@ -235,6 +235,9 @@ public interface WorkerWrapperBuilder<T, V> {
return setNext().wrapper(wrappers).end();
}
default WorkerWrapperBuilder<T, V> nextOf2(Collection<WorkerWrapper<?,?>> wrappers) {
return setNext().wrapper(wrappers).end();
}
/**
* 设置超时时间的具体属性
*/