Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple script listeners for the same context

Derek Fields (RightStar)
Community Champion
July 27, 2018

I have several different listeners that run on the same issues and event (e.g., All Issues, Issue Updated event). Do they run in serial or can they be parallelized in different threads? If each listener is independent, is there any harm in keeping the listeners separate to make debugging easier?     

1 answer

1 accepted

0 votes
Answer accepted
Mark Markov
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 27, 2018

Hello @Derek Fields (RightStar)

There is no harm.

Listeners work asynchronously, they cannot be parallelized.

Whenever event happens, listeners got in queue and runs one after another.

Derek Fields (RightStar)
Community Champion
July 27, 2018

Thanks for the quick reply. That is what I thought but I wanted to see if someone could confirm for me.

Mark Markov
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 27, 2018

You re welcome :)

Suggest an answer

Log in or Sign up to answer