@coderunner This doesn't force use to call a method that returns `Unit` as the last statement of your function.

@coderunner @alex-wajam What about this? `def executeIfCallbackNotExpired[U](function: => U)`