onComplete

var onComplete: (T) -> Unit

Parameters

onComplete

function to be called when the function is executed, with the output of the call as an argument