How can I overwrite interface function?

It depends on return value, void tends to create custom event (in reliable manner with specified category) rather than interface function to override