RemoveAsync Method RemoveAsync(TKey) Removes an entry, and returns the removed value, if any. Declaration Task<TValue> RemoveAsync(TKey key) Parameters TKey key The key. Returns Task<TValue> The removed value, if any; otherwise default(TValue).