Amnesia.Session.NewParallelActivity C# (CSharp) Метод

NewParallelActivity() публичный статический Метод

Registers an multithreaded activity with the session that will execute synchronously relative to the current activity already underway. In other words, the parallel activity must complete prior to the current activity completing (unlike NewAsyncActivity).
public static NewParallelActivity ( ) : IParallelActivity
Результат IParallelActivity
        public static IParallelActivity NewParallelActivity()
        {
            return Session.IsActive ? new ParallelActivity(Tracker) : NullParallelActivity.Instance;
        }