##// END OF EJS Templates
Added Skip method to JSON parser to skip contents of the current node
Added Skip method to JSON parser to skip contents of the current node

File last commit:

r11:6ec82bf68c8e promises
r62:62b440d46313 default
Show More
PromiseHelper.cs
17 lines | 420 B | text/x-csharp | CSharpLexer
using Implab.Parallels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
namespace Implab.Test {
class PromiseHelper {
public static Promise<T> Sleep<T>(int timeout, T retVal) {
return AsyncPool.Invoke(() => {
Thread.Sleep(timeout);
return retVal;
});
}
}
}