Dreamine.Threading 1.0.1
이 패키지는 .NET ThreadPool이나 Task Parallel Library를 대체하려는 목적이 아닙니다.
로딩중...
검색중...
일치하는것 없음
IDreamineThreadManager.cs
이 파일의 문서화 페이지로 가기
2
4
13public interface IDreamineThreadManager : IDisposable
14{
65 Func<CancellationToken, ValueTask> action);
66
91 bool Start(string threadName);
92
117 bool Stop(string threadName);
118
143 ValueTask<bool> StopAsync(string threadName);
144
169 bool Pause(string threadName);
170
195 bool Resume(string threadName);
196
205 void StartAll();
206
215 void StopAll();
216
233 ValueTask StopAllAsync();
234
243 void PauseAll();
244
253 void ResumeAll();
254
287 bool TryGetThread(string threadName, out IDreamineThread? thread);
288
305 IReadOnlyList<IDreamineThread> GetThreads();
306
323 IReadOnlyList<DreamineThreadInfo> GetThreadInfos();
324}
IReadOnlyList< IDreamineThread > GetThreads()
ValueTask< bool > StopAsync(string threadName)
bool TryGetThread(string threadName, out IDreamineThread? thread)
IReadOnlyList< DreamineThreadInfo > GetThreadInfos()
IDreamineThreadJob Register(DreamineThreadOptions options, Func< CancellationToken, ValueTask > action)