Aller au contenu
login
arrow_backRetour aux issues
RailtownAI/railtracks #1465

Add asyncio.Lock middleware prebuilt

ecoDébutant good first issue [Maintainer] task

descriptionDescription

### Description Commonly, certain nodes are not expected to be called in parallel with others, hence often we include asyncio.Lock in middleware to respect serial execution within asyncio.gather(). It might be a good idea to convert it to a prebuilt system due to its commoness and potential to expand. (ie conditional lock that allow max Y parallel, prevent tool Z and K together etc)
codeOuvre sur GitHub