You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We currently expose WithDescriptors which iterates across all descriptors, and GetDescriptors which use a selection function to return one or more descriptors.
It occurs to me that there are cases where a caller might want to iterate across only selected descriptors. Although this can be accomplished via WithDescriptors or GetDescriptors today, it requires extra legwork on the part of the caller.
I believe it would be trivial enough to add a new API for this, something like:
We currently expose
WithDescriptors
which iterates across all descriptors, andGetDescriptors
which use a selection function to return one or more descriptors.It occurs to me that there are cases where a caller might want to iterate across only selected descriptors. Although this can be accomplished via
WithDescriptors
orGetDescriptors
today, it requires extra legwork on the part of the caller.I believe it would be trivial enough to add a new API for this, something like:
The text was updated successfully, but these errors were encountered: