QueryWorkspaceResourcesCallback Type

QueryWorkspaceResourcesCallback = (resources: Iterable<{ db: WorkspaceDb, name: string }>) => void

A function supplied as part of a QueryWorkspaceResourcesArgs to iterate the resources retrieved by queryResources. The resources object should only be used inside the function - it is an error to attempt to iterate it after the function returns.

Defined in

Last Updated: 21 November, 2024