Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ETTask #513

Open
viiserion opened this issue Nov 13, 2023 · 3 comments
Open

ETTask #513

viiserion opened this issue Nov 13, 2023 · 3 comments

Comments

@viiserion
Copy link

Hello,

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

@egametang
Copy link
Owner

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

@viiserion
Copy link
Author

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?

@egametang
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants