Is there a simple way of determining wheter or not all the fsbs for the events have been loaded? There is a getState function for events that returns whether all not a event has finished loading. Do I have to check the state for all the events in the event group to know whether or not all the fsbs have been loaded?
To call getState would require a call to getEvent which does loading of fsbs aswell, if they aren’t loaded yet.
Thanks in advance.
- cutebokchoi asked 11 years ago
I think I have a workaround for this.
Given the group, traverse the subgroups and check all events using event::getState. If any events return that they are loading, you know that the fsbs are not loaded yet.
This can be made much faster if the programmer knows ahead of time that only one fsb will be used in that group. Then only one event needs to be found and checked.
To get an event, you need to call get event from the group and by doing so, it will cause a load of the fsb if it isn’t loaded already. You don’t want to load fsbs just to check the state of a group. The group should know if it has finished loading or has loaded in the fsbs yet.
Please login first to submit.