voorkant / voorkant-core

https://voorkant.org/
MIT License
2 stars 3 forks source link

make it easy to wait for HABackend to reach a certain state #23

Closed Habbie closed 6 months ago

Habbie commented 6 months ago

some code contains sleep(1) now because "by then, surely we have done our initial entities fetch". Instead we should be able to do something like backend.waitFor(someenum::GotEntities)

Habbie commented 6 months ago

HABackend::Start() now waits until entities are loaded. Do we need more here?

cyclops1982 commented 6 months ago

I think we can close this one for now.

There might be a need to wait for specific commands, but i see very little reason for that at the moment. So i'd want to close this one because i think the initial reason for opening this item is no longer there.