Skip to content
This repository has been archived by the owner on Feb 18, 2020. It is now read-only.

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

Open
3 tasks done
gorghoa opened this issue Jun 9, 2016 · 0 comments
Open
3 tasks done

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

gorghoa opened this issue Jun 9, 2016 · 0 comments
Assignees

Comments

@gorghoa
Copy link

gorghoa commented Jun 9, 2016

Prerequisites

  • Are you running the latest version of your current branch?
  • Did you check your issue is not already reported?
  • Have you tried to poke someone on Gitter?

Description

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

@gorghoa gorghoa changed the title Provide a way to subscribe to schema loading Provide a way to know if hm-admin is ready Jun 9, 2016
@gorghoa gorghoa self-assigned this Jun 9, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant