Proper way to utilize ExclusiveEntityTransaction?

So far, I understand I need to create a new world for setting up new entities; however, what I am not 100% on is how to implement the job call on the main thread to initialize the setup. For instance, what exactly is the design use for ExclusiveEntityTransactionDependency? Is it for initial dependency setup or is it for you to call complete on after ending?

I am not see doc on ExclusiveEntity in new document. But you can see it from old version

And sample inside AsyncLoadSceneOperation in package Unity.Scenes

What happen here is you can get EntityManager.ExclusiveEntityTransaction and pass it to Job (it act as entitymanager but inside job)