Skip to content

Instantly share code, notes, and snippets.

@ibrahimsn98
Last active September 19, 2022 07:51
Show Gist options
  • Save ibrahimsn98/021d88abc5b74a41681aaee9f9bc7d97 to your computer and use it in GitHub Desktop.
Save ibrahimsn98/021d88abc5b74a41681aaee9f9bc7d97 to your computer and use it in GitHub Desktop.
ty-demeter-blog-6
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