resolve

fun resolve(value: Any?)

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