Skip to content

Add TaskQueue.Enqueue(Expression<Func<T>>) to suppress warning CS4014 #55

@ArcticLampyrid

Description

@ArcticLampyrid

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions