From @reliak on Monday, November 23, 2015 6:18:25 AM
In https://github.com/aspnet/FileSystem/blob/dev/src/Microsoft.Extensions.FileSystemGlobbing/Internal/MatcherContext.cs#L44 the Execute method returns a PatternMatchingResult object.
To better support parallel operations, it would be great to return an IEnumerable<FilePatternMatch> with an yield inside the Execute method. This way I can start working when the first file was found and I do not need to wait till the end of the Execute method.
Copied from original issue: aspnet/FileSystem#143
From @reliak on Monday, November 23, 2015 6:18:25 AM
In https://github.com/aspnet/FileSystem/blob/dev/src/Microsoft.Extensions.FileSystemGlobbing/Internal/MatcherContext.cs#L44 the
Executemethod returns aPatternMatchingResultobject.To better support parallel operations, it would be great to return an
IEnumerable<FilePatternMatch>with anyieldinside theExecutemethod. This way I can start working when the first file was found and I do not need to wait till the end of theExecutemethod.Copied from original issue: aspnet/FileSystem#143