resolve

abstract fun resolve(value: Any?)

Successfully resolve the Promise with an optional value.

Parameters

value

Object