UNPKG

pandora-hub

Version:

pandora.js messenge hub

18 lines (17 loc) 590 B
import { ObjectConsumer } from './ObjectConsumer'; import { Introspection } from '../domain'; /** * DefaultObjectProxy * To make a Object Proxy by Introspection for Remote Object */ export declare class DefaultObjectProxy { constructor(objectConsumer: ObjectConsumer, introspection: Introspection); /** * Get a property from Remote Object * @param {string} name * @return {Promise<any>} */ getProperty(name: string): any; subscribe(register: string, fn: (...x: any[]) => any): any; unsubscribe(register: string, fn?: (...x: any[]) => any): any; }