Closed jaeopt closed 9 months ago
This PR adds a flag (returnInMainThread) to async initialization for controlling to return on completion in main thread or background thread.
returnInMainThread
Summary
This PR adds a flag (
returnInMainThread
) to async initialization for controlling to return on completion in main thread or background thread.returnInMainThread
= true for backward compatibility.returnInMainThread
= false to return in a background thread.Test plan
Issues