Async() EAsyncExecution::TaskGraph vs EAsyncExecution::ThreadPool

undercover
Mon, 04 Oct 2021 09:04:48 +0000
C++

Hi!

I wonder what the difference is between using Async(EAsyncExecution::TaskGraph, ...); vs. Async(EAsyncExecution::ThreadPool, ...);. Isn’t the task graph executed through the thread pool? Which one is to prefer? Put in another way, when would you use EAsyncExecution::TaskGraph over EAsyncExecution::ThreadPool and vice versa?

I appreciate any help!

3 posts - 3 participants