invoke

abstract operator fun invoke(result: T)

Invokes the callback with the provided result.

Parameters

result

The result to be passed to the callback.