Skip to content

Commit

Permalink
update comment
Browse files Browse the repository at this point in the history
Co-authored-by: Vit Horacek <36083550+mountiny@users.noreply.github.com>
  • Loading branch information
hurali97 and mountiny authored Jun 25, 2024
1 parent d268df3 commit 396eb7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/OnyxUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ function multiGet<TKey extends OnyxKey>(keys: CollectionKeyBase[]): Promise<Map<
/**
* We are going to iterate over all the matching keys and check if we have the data in the cache.
* If we do then we add it to the data object. If we do not then we check if there is a pending task
* for the key. If there is then we add the promise to the pendingTasks array and the key to the pendingKeys
* for the key. If there is such task, then we add the promise to the pendingTasks array and the key to the pendingKeys
* array. If there is no pending task then we add the key to the missingKeys array.
*
* These missingKeys will be later used to multiGet the data from the storage.
Expand Down

0 comments on commit 396eb7f

Please sign in to comment.