Conversation
|
Thanks @Nanonid! We did have a settimeout implementation in a C++ sample, but one for .NET would certainly be useful and I like the idea of adding a proper .gitignore. @Yongqu would you mind taking a look at this? |
| int after = (int)Math.Max(afterValue.ToDouble(), 1.0); | ||
| TimeoutCall to = new TimeoutCall(after, callbackValue, callee); | ||
| timeouts.Add(to.dt,to); | ||
| return JavaScriptValue.Invalid; |
There was a problem hiding this comment.
Please add a note indicating that return value cannot be used as cookie for clearTimeout.
It would be nice if we can hide the dt as getter/setter.
|
Hello everyone, I think What do you think? |
|
@Kureev you're absolutely right that |
#28 Simple example of setTimeout. My pull adds the unfortunate CharkaCore.dll for those who don't build it. This pull also uses .net 3.5, so is more for reference.