If you’re referring to calling that from Java, you...
# getting-started
d
If you’re referring to calling that from Java, you should return the Unit singleton rather than null, but otherwise I don’t think there’s a way around it.