/Engine/Plugins/FX/Niagara/Source/Niagara/Public/NiagaraGpuComputeDispatchInterface.h
This will flush all pending ticks & readbacks from the dispatcher. Note: This is a GameThread blocking call and will impact performance
void FlushAndWait_GameThread()