Skip to content

Instantly share code, notes, and snippets.

@ibrahimsn98
Created September 17, 2022 20:05
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 ibrahimsn98/bdaf71fbbd95d4755efc54d9d347e2eb to your computer and use it in GitHub Desktop.
Save ibrahimsn98/bdaf71fbbd95d4755efc54d9d347e2eb to your computer and use it in GitHub Desktop.
ty-demeter-blog-4
LifecycleAwareTimer.Builder()
.interval(DISPATCHER_TIMER_INTERVAL)
.scope(dispatcherScope)
.lifecycleOwner(ProcessLifecycleOwner.get())
.onInterval(this::onInterval)
.build()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment