dispatch
inline fun <R> A_BasicObject.dispatch(f: AbstractDescriptor.(AvailObject) -> R): R
Content copied to clipboard
Dispatcher helper function for routing messages to the descriptor.
Parameters
R
The result type of this call.
f
The AbstractDescriptor method to invoke, with the receiver cast to AvailObject as an additional first argument.