putFunction

fun putFunction(key: String, function: ProxyExecutable)

Associates a ProxyExecutable with the specified key. The function receives a Value array, containing the arguments passed by the caller.