|
public static TaskInfo ToTaskInfo<T>(this Expression<Func<T>> expression) |
Since
ToTaskInfo(this Expression<Func<T>>) is available, why not add
TaskQueue.Enqueue(Expression<Func<T>>)?
It's helpful to suppress warning CS4014 with async function.
CS4014: Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the await operator to the result of the call.
At least TaskQueue.Enqueue(Expression<Func<Task>>) should be added.
Gofer.NET/Gofer.NET.Utils/ActionExtensionMethods.cs
Line 31 in 08a8bbd
Since
ToTaskInfo(this Expression<Func<T>>)is available, why not addTaskQueue.Enqueue(Expression<Func<T>>)?It's helpful to suppress warning CS4014 with async function.
At least
TaskQueue.Enqueue(Expression<Func<Task>>)should be added.