You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
setEtaFunction accepts a (BiFunction<ProgressState, Duration, Optional<Duration>>, but it's impossible to use ProgressState for consumers because everything there is package-private. setEtaFunction should either accept a Bifunction that provides objects that are actually usable, or ProgressState and its methods should become public.
The text was updated successfully, but these errors were encountered:
See #146: I think a better way is to change setETAFunction so that it accepts BiFunction<ProgressBar, Duration, Optional<Duration>>. Let me know if you have any objections.
setEtaFunction
accepts a(BiFunction<ProgressState, Duration, Optional<Duration>>
, but it's impossible to useProgressState
for consumers because everything there is package-private.setEtaFunction
should either accept a Bifunction that provides objects that are actually usable, orProgressState
and its methods should become public.The text was updated successfully, but these errors were encountered: