SuccessHelper

class SuccessHelper<V>(val value: V, val handler: SimpleCompletionHandler<V>)

A helper syntax class for completion successes.

Constructors

Link copied to clipboard
fun <V> SuccessHelper(value: V, handler: SimpleCompletionHandler<V>)

Properties

Link copied to clipboard
val handler: SimpleCompletionHandler<V>

The current completion handler itself.

Link copied to clipboard
val value: V

The value produced by the successful completion handler.