public async Task TestCompletionTask()
 {
     await DataflowTestHelpers.TestCompletionTask(() => new ActionBlock <int>(i => { }));
 }
Esempio n. 2
0
 public Task TestCompletionTask()
 {
     return(DataflowTestHelpers.TestCompletionTask(() => new TransformManyBlock <int, int>(DataflowTestHelpers.ToEnumerable)));
 }
Esempio n. 3
0
 public Task TestCompletionTask()
 {
     return(DataflowTestHelpers.TestCompletionTask(() => new TransformBlock <int, int>(i => i)));
 }
Esempio n. 4
0
 public async Task TestCompletionTask()
 {
     await DataflowTestHelpers.TestCompletionTask(() => new WriteOnceBlock <int>(i => i));
 }
Esempio n. 5
0
 public Task TestCompletionTask()
 {
     return(DataflowTestHelpers.TestCompletionTask(() => new BufferBlock <int>()));
 }