@microsoft/windows-admin-center-sdk
Version:
Microsoft - Windows Admin Center Shell
16 lines (14 loc) • 585 B
JavaScript
import { RpcInboundClient } from '../rpc-inbound-client';
import { RpcElectronRequestKey } from './rpc-electron-model';
export class RpcElectronRequestClient {
/**
* The electron request client call.
*
* @param data the RpcElectronOperation object.
* @return Promise<RpcElectronOperationResult> the promise object with operation result.
*/
static electronRequest(rpc, data) {
return RpcInboundClient.call(rpc, RpcElectronRequestKey.command, RpcElectronRequestKey.version, data);
}
}
//# sourceMappingURL=rpc-electron-request-client.js.map