3 ms·Caching the promise is a perfectly good solution. Locks aren't needed.by tiglionabbit 7y agoCaching the promise is a perfectly good solution. Locks aren't needed.