BudgetAnalyser.Engine.Statement.AnzAccountStatementImporterV1.ReadTextChunkAsync C# (CSharp) Method

ReadTextChunkAsync() protected method

Reads a chunk of text asynchronously.
protected ReadTextChunkAsync ( string filePath ) : Task
filePath string
return Task
        protected virtual async Task<string> ReadTextChunkAsync(string filePath)
        {
            var reader = this.readerWriterSelector.SelectReaderWriter(false);
            return await reader.LoadFirstLinesFromDiskAsync(filePath, 2);
        }