Function ResourceInteractiveLoader.wait
Polls the loading operation successively until the resource is completely loaded or a poll fails.
Returns constant ERR_FILE_EOF if the load operation has completed successfully. The loaded resource can be obtained by calling getResource.
Returns another error code if a poll has failed, aborting the operation.
godot .core .defs .GodotError wait() nothrow @nogc;