coopTilleuls / hm-admin

hm-admin is an angular2 component which help you to build backoffice automatically for an hypermedia API
MIT License
7 stars 0 forks source link

Provide a way to know if hm-admin is ready #36

Open gorghoa opened 8 years ago

gorghoa commented 8 years ago

Prerequisites

Since CoreDefinitionService::loadDefinitions() and SchemaService::loadSchema() don’t return observables (they return undefined), there is no way to know if hmadmin is ready or not.

Hence, I can’t add a pre-loader to my components waiting for hm-admin to do its initialization black magic.

I would love to have, as @Gregcop1 suggest, an “appReady” observable/promise