addOnCompleteListener

fun <TResult> <ERROR CLASS><TResult>.addOnCompleteListener(executor: Executor, listener: (<ERROR CLASS><TResult>) -> Unit): <ERROR CLASS><TResult>

Quality-of-life helper to allow using trailing lambda syntax for adding a completion listener to a Task.