UNPKG

xcloudsdk

Version:

xcloud sdk

11 lines (10 loc) 419 B
import { SdkResult } from "./entity"; import { Modules } from "./entity/FuncName"; export declare abstract class sdkBase<Func> { private ModuleName; constructor(moduleName: Modules); init(): void; private consolePlatform; protected exceFuncListen<T>(funcName: Func, callback: (e: T) => void, ...args: any[]): void; protected exceFunc<T>(funcName: Func, ...args: any[]): Promise<SdkResult<T>>; }