WorkRunner

Interface for posting runnables to be executed using different scheduling mechanisms.

Inheritors

Functions

Link copied to clipboard
abstract fun dispose()

Dispose of all resources associated with this object.

Link copied to clipboard
abstract fun post(runnable: Runnable)

Must discard any new Runnable immediately after dispose method of Disposable is called. Not doing this may result in undesired side effects, crashes, race conditions etc.