Parallel Execution

Name in Migrated Code: [className]Async
Location in Migrated Code: a separate class

Task properties advanced screen parallel-execution

Example :

    public class MyProgramAsync : AsyncHelperBase 
    {
        public MyProgramAsync()
        {
        }
        /// <summary>MyProgram(P#2)</summary>
        public string Run()
        {
            return RunAsync<MyProgram>(c => c.Run());
        }
    } 

Notes:

Whenever a program is defined as Parallel in Magic,
the migrated code will have two classes for the same program:

  1. The class representing the migrated code (the program logic)
  2. A class with the same name + Async, representing the fact that
    this class is executed in parallel (Asynchronously). Every call to this program will be done via this class. The program itself is called in the Run() method.

Help us improve, Edit this page on GitHub
or email us at info@fireflymigration.com