Qbox-project / qbx_core

http://qbox-project.github.io
Other
46 stars 113 forks source link

fix(bridge): core not loading #371

Closed Manason closed 4 months ago

Manason commented 4 months ago

Fixes an issue where the core didn't finish loading before other resources loaded. Doing a lib.callback.await doesn't block other resources from loading, but does block core. To get around this, the jobs/gangs tables of bridge are initialized to empty tables and then will be populated asynchronously once the lib callback returns. The event is then triggered to simulate as if these groups were added via export.