Load ensures that exactly one result will be loaded.
Suitable for loading data with one-to-one
relationships.
Returns error if the batchFn does not return exactly 1 result.
If the same key is loaded multiple times, the result will be deep-copied
before returned.
LoadMany returns zero, one or many results.
Suitable for loading data with one-to-many
relationships.
If the same key is loaded multiple times, the result will be deep-copied
before returned.