Tinkoff / Horarium

Horarium is the .Net library to manage background jobs
Apache License 2.0
56 stars 12 forks source link

Transaction support #53

Open hayhay27 opened 2 years ago

hayhay27 commented 2 years ago

Could we find a way to adapt interface to support transacitons on scheduling?

Needs to support mongo transactions alongside with psql (upcoming impl) ones.

I see that there is interface IAdderJob which has two methods AddJob and AddRecurrentJob. But they can't be extended correctly for all implementation without additional abstraction (let's say context)

Also probably we need to extend Schedule method to accept transaction (context).