Skip to contents

Resolve a Promise

Usage

resolvePromise(object, ...)

# S3 method for default
resolvePromise(object, ...)

Arguments

object

(ANY)
an object to resolve.

...

(ANY)
additional arguments.

If object is not a promise will just return itself else will resolve the promise and return the promised object.