can rules process multiple actions

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
GravityRZ
Normal user
Posts: 22
Joined: 23 Dec 2019, 21:24

can rules process multiple actions

#1 Post by GravityRZ » 31 Jan 2020, 08:48

I currently use a rules script which acts on a variable
I also use a rule which act on a timer

what happens if these get triggered at the same time?

will one fail to execute, will they be queued>

On Watermeter#Count do

On Rules#Timer=1 do


The reason i ask is the resoltion of the timer is on a second base so chances are big that within that same second something else gets triggered

TD-er
Core team member
Posts: 2121
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: can rules process multiple actions

#2 Post by TD-er » 03 Feb 2020, 14:56

There is a (small) queue for the events, so they should be handled in the end, but sadly there is a chance an event may get "lost" if lots of events happen at the same time.
Also the queue with events will not be dealt with all at once. Only a single item will be processed in a loop, so there is no guaranteed time between handling of events.

Post Reply

Who is online

Users browsing this forum: No registered users and 22 guests