Skip to content

Instantly share code, notes, and snippets.

@yongjhih
Last active October 7, 2019 22:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yongjhih/df919a8566105d52b5bbec5e2a0e34ff to your computer and use it in GitHub Desktop.
Save yongjhih/df919a8566105d52b5bbec5e2a0e34ff to your computer and use it in GitHub Desktop.
fun AnalyticsClient.submitEvents(func: AnalyticsClient.() -> Unit) {
func()
submitEvents()
}
fun TargetingClient.updateEndpointProfile(func: TargetingClient.() -> Unit) {
func()
updateEndpointProfile()
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment