janpieterz / CommandRunner

A simple command runner to enable quick command line developer tools

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Handle async return methods

janpieterz opened this issue · comments

Methods that have a signature of async void are currently not executed correctly.
Workaround is to return a task, however it would be nice to make sure we handle this.

Async methods have the attribute System.Runtime.CompilerServices.AsyncStateMachineAttribute

Since it's quite widespread advice not to use async void and the cases where lambda's etc create these by default, we'll skip this one for now.