Closed natanfudge closed 1 year ago
Thanks @natanfudge ! My fault, will have to make that class public.
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.
Fixed in 0.9.5
.
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.