##// END OF EJS Templates
Implab.Test moved to xunit...
Implab.Test moved to xunit Complete set of PromiseHelpers (Then, Catch, Finally) Removed obsolete types ICancellable, ICancellationToken

File last commit:

r249:d82909310094 v3
r249:d82909310094 v3
Show More
UnitTest1.cs
17 lines | 338 B | text/x-csharp | CSharpLexer
cin
Implab.Test moved to xunit...
r249 using System;
using System.Threading;
using Xunit;
namespace Implab.Test
{
public class UnitTest1
{
[Fact]
public void Test1()
{
using(var cts = new CancellationTokenSource(1000)) {
PromiseHelper.Sleep(10000, cts.Token).Join();
}
}
}
}