c

com.daml.lf.engine

ResultNeedPackage

final case class ResultNeedPackage[A](packageId: PackageId, resume: (Option[Package]) => Result[A]) extends Result[A] with Product with Serializable

Intermediate result indicating that a Package is required to complete the computation. To resume the computation, the caller must invoke resume with the following argument:

  • Some(package), if the caller can dereference packageId to package
  • None, if the caller is unable to dereference packageId
Linear Supertypes
Result[A], Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ResultNeedPackage
  2. Result
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new ResultNeedPackage(packageId: PackageId, resume: (Option[Package]) => Result[A])

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  6. def consume(pcs: (ContractId) => Option[VersionedContractInstance], packages: (PackageId) => Option[Package], keys: (GlobalKeyWithMaintainers) => Option[ContractId]): Either[Error, A]
    Definition Classes
    Result
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def flatMap[B](f: (A) => Result[B]): Result[B]
    Definition Classes
    Result
  9. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  10. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  11. def map[B](f: (A) => B): Result[B]
    Definition Classes
    Result
  12. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  14. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  15. val packageId: PackageId
  16. def productElementNames: Iterator[String]
    Definition Classes
    Product
  17. val resume: (Option[Package]) => Result[A]
  18. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  19. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  20. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  21. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from Result[A]

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped