createCallbackFunctionInJava

Create an A_Function from the given Callback and function A_Type. Since Kotlin is actively hostile toward SAM (single abstract method) lambda conversions, this method is targeted toward use from Java callers that can simply use the lambda notation.

Return

The Avail A_Function.

Parameters

functionType

The signature of the A_Function to create.

callback

The Callback to invoke when the corresponding Avail function is invoked.