Role of the client which awaits for lock availability.
Consumer which obtained lock, but operation has been started already by producer. He needs to await on promise for it's fulfilling.
Producer which obtained lock and started operation. He is responsible for fulfilling operation promise.
Role of the client which awaits for lock availability.