Here is what I am trying to solve. I have a service that all it does it distribute work to specific instances of classes. All the classes involved in the work are derived from an interface with one method, callMe(any)
these classes need to register themselves with this service with a unique identifier. For instance, an instance of WorkerA with register itself calling service.register(*something*, id). Service will need to keep a map of ids and worker objects to call later. in the above call, what does *something *need to be? The service in order to call the WorkerA instance, what does that call should be, how will it be called. Sorry if my question is not very clearly stated. Thanks Reza P.S. if there is a better place to ask this question, please let me know. -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
