Skip to content

Commit

Permalink
Merge pull request #1 from benaadams/async
Browse files Browse the repository at this point in the history
I've merged this with some significant changes.
Your tests did not actually complete writing to file.  I apologize if I got lost in your test code with ParallelAsync and encourage you to rewrite AsyncTester.cs to do what you were thinking.  But I want to be sure that the testing harness and results are confirmed to be expected.  I'm going to add some more tests to master to verify the file results.
  • Loading branch information
electricessence authored Apr 16, 2018
2 parents b4f9a52 + f094ce0 commit 1e28a1c
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
2 changes: 1 addition & 1 deletion AsyncFileWriter/AsyncFileWriter.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System;
using System;
using System.Diagnostics.Contracts;
using System.IO;
using System.Text;
Expand Down
9 changes: 9 additions & 0 deletions AsyncFileWriter/IDisposableAsync.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
using System.Threading.Tasks;

namespace Open
{
interface IDisposableAsync
{
Task DisposeAsync();
}
}
2 changes: 1 addition & 1 deletion AsyncFileWriterTester/Program.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System;
using System;
using System.Threading.Tasks;

namespace AsyncFileWriterTester
Expand Down

0 comments on commit 1e28a1c

Please sign in to comment.