ET icon indicating copy to clipboard operation
ET copied to clipboard

ETTask

Open darkragna opened this issue 1 year ago • 3 comments

Hello,

What is the purpose of ETTask? Can it be changed to Task/ValueTask? Cheers!

darkragna avatar Nov 13 '23 13:11 darkragna

ETTask is a task like class,it has no gc,more lightweight,better performance。but it is only supports single threading

egametang avatar Nov 13 '23 13:11 egametang

ETTask is a task like class,it has no gc,more lightweight,better performance。but it is only supports single threading

Thanks for answering! It's safe to mix ETTask with Task? For example, make use of the Entity Framework (async) and other types of calls?

darkragna avatar Nov 13 '23 17:11 darkragna

If the await before and after are on the same thread,it is safe

egametang avatar Nov 14 '23 05:11 egametang