File

angular/projects/researchdatabox/portal-ng-common/src/lib/service.interface.ts

Description

Basic methods for a low-level Service. Supports async init of services.

Extends

Initable

Index

Methods

Methods

getConfig
getConfig(appName?: string)

Returns the global config object for the client, optionally provide the appName to return app-specific config (WIP)

Parameters :
Name Type Optional
appName string Yes
Returns : any
import { Initable } from './initable.interface';
/**
 * Basic methods for a low-level Service. Supports async init of services.
 */
export interface Service extends Initable {
  /**
   * Returns the global config object for the client, optionally provide the appName to return app-specific config (WIP)
   */
  getConfig(appName?:string): any;
  
}

results matching ""

    No results matching ""