Package 

Class InFlightResult


  • 
    public final class InFlightResult<T extends Object>
    
                        

    One caller runs block. Later callers wait for that result instead of running it again.

    • Constructor Summary

      Constructors 
      Constructor Description
      InFlightResult()
    • Method Summary

      Modifier and Type Method Description
      final T share(T fallback, SuspendFunction0<T> block) One caller runs block.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • InFlightResult

        InFlightResult()