
Promise of a LinkComponent
PromiseLinkComponent-class.RdAn object that promises to resolve to a LinkComponent object.
Inheriting from Promise and LinkComponent.
Arguments
- fun
(
function)
a function that returns aLinkComponent. See details.- prior
(
Prior)
The prior for the scaling coeficient.- key
(
character)
Link identifier. See Details.
Details
The fun slot should be a function of signature function(prior, model) and should return
a LinkComponent object. An error will be thrown if the returned LinkComponent object
does not have the same key slot value as the original PromiseLinkComponent.