Use it like: ``` fun main(args: Array<String&gt...
# kovenant
m
Use it like:
Copy code
fun main(args: Array<String>) {
    val promise = Promise.ofFail<String, Exception>(Exception("Some Exception")).catch(map = Exception::message)

    promise.success(::println)
}