Class ReactiveLazy<T>

java.lang.Object
com.machinezoo.hookless.ReactiveLazy<T>
Type Parameters:
T - type of cached result
All Implemented Interfaces:
Supplier<T>

@StubDocs public class ReactiveLazy<T> extends Object implements Supplier<T>
Single-value synchronous cache for results of reactive computations.
  • Constructor Details

    • ReactiveLazy

      public ReactiveLazy(Supplier<T> supplier)
  • Method Details