Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Allow service methods to omit return value #179
Currently service methods can't have void/unit/null return type. Forcing every method to return something may sensible when we didn't have errors (#38), but no more now. In certain scenarios, no news is good news and we can raise an error when something goes wrong.
A syntax I would suggest is to simply omit method's return type:
One more thing to consider is whether to force methods lacking return value to have error.