deferUntilModulesLoaded abstract method

bool deferUntilModulesLoaded(
  1. void resolve()
)

Runs resolve once the outermost loadModule returns, because it needs a name that is not declared yet (a supertype or type-parameter bound in a library still loading - GitHub #9). Returns false when no module load is in progress: then the name is genuinely undefined and the caller reports it.

Implementation

bool deferUntilModulesLoaded(void Function() resolve);