Aller au contenu
OpenToAll
Retour aux issues
RailtownAI/railtracks #1465

Add asyncio.Lock middleware prebuilt

Débutant good first issue[Maintainer] task
144 ★ Poids du clone léger Mise à jour

Description

### 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)

Issues similaires

Tout voir
Ouvre sur GitHub