Function0X<R> extension
Extension methods for zero-argument functions (R Function()).
- on
-
- R Function()
Methods
-
memoize(
) → R Function() -
Available on R Function(), provided by the Function0X extension
Returns a memoized version of this function that caches its result on first call. -
timed(
) → (R, Duration) -
Available on R Function(), provided by the Function0X extension
Measures execution duration and returns a record(result, elapsed).