Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
IMap should expose setAsync #6726
Users of IMap.set do not have a corresponding async method, unlike put and putAsync. putAsync is not entirely suitable as an async set, since put returns the previous value mapped to the key, and triggers EntryListeners, which may not be desirable.
It is hence proposed that IMap exposes a dedicated setAsync, to fulfill the contract for set and have the means to do so asynchronously.