Replies: 1 comment 1 reply
-
Will all workers be of the same type? I am guessing not. Then you have to
use dyn and concrete types such as BoxCloneService. Monitor already allows
the registration of unassosiated workers so you should check that first.
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm currently working on a project where I'm using the Apalis Rust library to handle asynchronous tasks and workers. Specifically, I'm trying to define a system where I can register and manage generic workers of type T. I've written a proof-of-concept (POC) to illustrate what I'm trying to achieve, but I'm encountering issues with the definition of workers (Vec<Worker<Ready<S, P>>>)
I'm open to any suggestions or alternative approaches to achieving my goal of defining and managing generic workers.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions