resolve

fun resolve(value: Any?)(source)

Settles the promise with value. Later calls do nothing, as in a script.