Package 

Interface Result


  • 
    public interface Result<T extends Object>
    
                        

    Represents the result of an operation - typically loading - that can be in a loading, error, or success state. This includes Rive file loading. The Success result must be unwrapped to the value, e.g. through Kotlin's when/is statements.

    • Method Summary

      Modifier and Type Method Description
      <T extends Any, R extends Any> Result<R> andThen(Result<T> $self, Function1<T, Result<R>> onSuccess)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait