@microsoft/windows-admin-center-sdk
Version:
Microsoft - Windows Admin Center Shell
25 lines (23 loc) • 881 B
JavaScript
import { RpcObservableClient } from '../rpc-observable-client';
import { RpcObservablePerformanceKey } from './rpc-observable-performance-model';
export class RpcObservablePerformanceClient extends RpcObservableClient {
/**
* Initializes a new instance of the RpcObservablePerformanceClient class.
*
* @param rpc the rpc object.
*/
constructor(rpc) {
super(rpc, RpcObservablePerformanceKey.command, RpcObservablePerformanceKey.version);
}
/**
* The Performance command.
*
* @param request the Rpc Performance data object.
* @param outbound the Rpc outbound channel object.
* @return Observable<RpcObservablePerformanceResult> the observable object.
*/
log(request, outbound) {
return this.observableCall(request, outbound);
}
}
//# sourceMappingURL=rpc-observable-performance-client.js.map