Open
Description
When the AsyncFor was first made, it consisted only of instance members, with no static functions. Static functions were later added for ease of use, and today, the static functions are the preferred method of execution, so much so that they're the only examples shown in the readme. The instance members cannot currently be removed because other Sky Editor code relies on it. To make it easier to move forward, the old code needs to be marked obsolete.
Acceptance Criteria:
- The AsyncFor (and AsyncForEach) code is moved to the static functions
- The instance functions are not removed, but are modified to call the static functions
- Where appropriate, the instance properties wrap single instance of a ProgressReportToken
- All instance members are marked with an Obsolete attribute
- Upon completion of this issue, another issue is made that says to remove the instance members entirely and make the class a static class