Prevent a method from being executed in parallel by returning the same
promise when the method is already executing.
This can be useful when you have a method that is called multiple times
in parallel and you want to prevent the method from being executed multiple times.
Prevent a method from being executed in parallel by returning the same promise when the method is already executing.
This can be useful when you have a method that is called multiple times in parallel and you want to prevent the method from being executed multiple times.