Initial commit
This commit is contained in:
commit
ef3b7d68fb
30 changed files with 1568 additions and 0 deletions
12
Infra/Synchronization/TaskHelper.cs
Normal file
12
Infra/Synchronization/TaskHelper.cs
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
namespace StitchATon2.Infra.Synchronization;
|
||||
|
||||
public static class TaskHelper
|
||||
{
|
||||
public static TaskFactory CreateTaskFactory()
|
||||
{
|
||||
return new TaskFactory(
|
||||
TaskCreationOptions.AttachedToParent,
|
||||
TaskContinuationOptions.ExecuteSynchronously
|
||||
);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue