Is it possible to set some custom constraints (conditions) on workers?
In my case, I want the worker to be only executed when there are some data available in a table in Room database. I could observe on the database and schedule the worker if the table is not empty, but it would make more sense if I could just set some custom constraints on the worker in such case.