This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
Repositories
Datasets
Forum
实训
竞赛
大数据
应用
Register
Sign In
youys
/
Discord.Net
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
34
Wiki
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
Browse Source
Minor edit
pull/6/head
Brandon Smith
9 years ago
parent
37af290925
commit
478232be42
1 changed files
with
0 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+0
-2
src/Discord.Net/Helpers/TaskHelper.cs
+ 0
- 2
src/Discord.Net/Helpers/TaskHelper.cs
View File
@@ -19,9 +19,7 @@ namespace Discord.Helpers
Task timeoutTask = Task.Delay(milliseconds);
Task finishedTask = await Task.WhenAny(self, timeoutTask);
if (finishedTask == timeoutTask)
{
throw new TimeoutException();
}
else
await self;
}
Write
Preview
Loading…
Cancel
Save