Skip to contents

Resolves a PromiseLinkComponent object to 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.

Usage

# S3 method for PromiseLinkComponent
resolvePromise(object, model, ...)

Arguments

object

(PromiseLinkComponent)
the promise to resolve

model

(LongitudinalModel)
the model to resolve the promise with

...

Not used.

Value

(LinkComponent)
the resolved LinkComponent object