Last active
September 19, 2022 07:51
-
-
Save ibrahimsn98/021d88abc5b74a41681aaee9f9bc7d97 to your computer and use it in GitHub Desktop.
ty-demeter-blog-6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
demeter.addEventResultReporter(DemeterResultReporter()) | |
... | |
class DemeterResultReporter : EventResultReporter { | |
override fun report(result: Result<String>) { | |
if (result.isFailure) { | |
// Report the result | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment