Merge #2861
Synchronize the workthread and main thread in the authoritative server, by providing callbacks executed in the main thread after a work in the workthread is completed.
Synchronize the workthread and main thread in the authoritative server, by providing callbacks executed in the main thread after a work in the workthread is completed.