It doesn't look like `@ScriptBody` is implemented ...
# scripting
m
It doesn't look like
@ScriptBody
is implemented yet. It there a different way to return a value from a script to the scripting host?
r
Not sure if it is implemented but the generated class will have a
resultField
based on the KEEP https://github.com/Kotlin/KEEP/blob/master/proposals/scripting-support.md#script-class.
👍 1
Personally, I prefer to ScriptBody approach since it gives me flexibility when to "invoke" the script - outside of instantiation.