This is what I want to do:
let profiles_data = await API.profile.list() // returns JSON
let ProfilesArray = runtime.objects.ProfilesArray.getFirstInstance()
ProfilesArray.load(profiles_data)
The API parts works fine - is the Load fx exposed in script?
TLDR;
The reason I'm asking is because the script-block doesn't wait for the await; even with the System "Wait for previous actions" it continues on to non-script actions. My currently hackaround is using a setTimeout to call the C3 fx...?