Work

interface Work

Helper class for executing something on background thread. Usage:

 TaskManger.getInstance().execute(Task) 
pre>
Use this class if use-case is fire and forget. This task cannot be cancelled or no callback is
provided on completion.

Author

Umang Chamaria Date: 09/04/20

Functions

doWork
Link copied to clipboard
abstract fun doWork()
The business logic which needs to be run on the worker thread.