Class ResultNow<T>

    • Constructor Detail

      • ResultNow

        public ResultNow​(T value)
    • Method Detail

      • now

        public T now()
        Description copied from interface: Result
        Waits if necessary for the computation to complete, and then retrieves its result. If the computation produced an exception, it will be thrown here.
        Specified by:
        now in interface Result<T>
        Returns:
        the computed result