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 dereferencepackageId
topackage
None
, if the caller is unable to dereferencepackageId
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ResultNeedPackage
- Result
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- def consume(pcs: (ContractId) => Option[VersionedContractInstance], packages: (PackageId) => Option[Package], keys: (GlobalKeyWithMaintainers) => Option[ContractId]): Either[Error, A]
- Definition Classes
- Result
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def flatMap[B](f: (A) => Result[B]): Result[B]
- Definition Classes
- Result
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def map[B](f: (A) => B): Result[B]
- Definition Classes
- Result
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- val packageId: PackageId
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val resume: (Option[Package]) => Result[A]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated