ZEST / base.resolver / Namespace: Resolver

base-resolver~ Resolver

The resolver object that is used to start or restart zest integration by taking care of inversion of control and dependency injection.

Source:

Methods

<static> load() → {external:q}

The load function runs all starting components in the configuration, injecting all other dependencies required.

Source:
Returns:

a Promise that gets resolved with module:base-resolver~Resolver when the load is executed. This promise is rejected with the error if load execution fails.

Type
external:q

<static> reload() → {external:q}

The reload function will re-configure and start all starting components in the configuration. If a reload is called before the previous reload is over, the previous reload will be interrupted.

Source:
Returns:

a Promise that gets resolved with module:base-resolver~Resolver when the reload is executed. This promise is rejected with the error if reload execution fails.

Type
external:q

<static> unload() → {external:q}

The unload function will call all registered unload handlers and clear off the dependency tree

Source:
Returns:

a Promise that gets resolved when the unload is executed. This promise is rejected with the error if unload execution fails.

Type
external:q