UNPKG

pandora-hub

Version:

pandora.js messenge hub

21 lines (20 loc) 694 B
import { ObjectDescription } from '../domain'; import { HubClient } from '../hub/HubClient'; export declare class ProviderManager { protected objectMap: Map<string, any>; hubClient: HubClient; constructor(hubClient: any); /** * Get an published Object by an ObjectDescription * @param {ObjectDescription} objectDescription * @return {Promise<any>} */ getPublishedObject(objectDescription?: ObjectDescription): Promise<any>; /** * Publish an Object to Hub * @param impl * @param {ObjectDescription} objectDescription * @return {Promise<void>} */ publish(impl: any, objectDescription?: ObjectDescription): Promise<void>; }