• mod (Module) – The module whose context the resulting function should execute in. This is used to help resolve modules that are relative to mod.
Return type resolve
Description A factory function that returns an instantiation function _o
  • path (string) – The resource “path”. By default, this is assumed to be a module and will be resolved relative to the module passed to _o. Environment variables should start with the scheme env (e.g., env:VAR), HTTP resources should use the http or https scheme (e.g.,
  • options (Object) – Options to pass to the underlying resolver. This is currently only supported by the HTTP resolver (CarbonClient)
Returns The resource
Return type *
Description Resolves a resource. A resource can be a module, environment variable, HTTP resource, or file.