An example using a thread to load an image.
Language: GDScript
Renderer: Mobile
Check out this demo on the asset library: https://godotengine.org/asset-library/asset/144