Add some awaits to workspace scanning to reduce blocking
Add some awaits to workspace scanning to reduce blocking

Fixes #1442.

Dart-Code/Dart-Code,Dart-Code/Dart-Code,Dart-Code/Dart-Code,Dart-Code/Dart-Code,Dart-Code/Dart-Code