// 执行查询数据库任务
FilterDefinition<ComponentWithId> filterDefinition = new JsonFilterDefinition<ComponentWithId>(this.Json);
Log.Warning($“开始请求:name = {this.CollectionName}, json = {this.Json}”);
IAsyncCursor<ComponentWithId> cursor = await dbComponent.GetCollection(this.CollectionName).FindAsync(filterDefinition);
Log.Warning($“开始完毕:name = {this.CollectionName}”);
List<ComponentWithId> components = await cursor.ToListAsync();
this.Tcs.SetResult(components);
FindAsync直接阻塞。既不报错也不抛异常。就一直阻塞。