You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Best solution which comes to mind is to create a factory function for constructing the different type of job prototypes and then save the type to somewhere on the object.
The text was updated successfully, but these errors were encountered:
At https://github.com/Rauno56/kue-chain/blob/master/index.js#L41 the parent job constructor is invoked to get the type of job to listen complete event on. It is bad in many sense.
Best solution which comes to mind is to create a factory function for constructing the different type of job prototypes and then save the type to somewhere on the object.
The text was updated successfully, but these errors were encountered: