Package 

Class ViewModelInstance.Transfer


  • 
    public final class ViewModelInstance.Transfer
    
                        

    Wrapper type for transferring a view model instance between Files.

    Exists to encode reference counting operations at the type-level.

    • Method Summary

      Modifier and Type Method Description
      final Unit dispose() Dispose of the transfer.
      • Methods inherited from class java.lang.Object

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

      • dispose

         final Unit dispose()

        Dispose of the transfer. This will release the C++ reference to the instance. Call this manually to abort a transfer.

        Note: this operation is not idempotent. Calling this multiple times will throw an error.