@microsoft/windows-admin-center-sdk
Version:
Microsoft - Windows Admin Center Shell
1 lines • 965 B
Source Map (JSON)
{"version":3,"sources":["../../../packages/core/rpc/notification/rpc-notification-client.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,QAAQ,CAAC;AAE7B,OAAO,EAAE,eAAe,EAAsB,MAAM,0BAA0B,CAAC;AAE/E,qBAAa,qBAAqB;IAC9B;;;;;OAKG;WACW,MAAM,CAAC,GAAG,EAAE,GAAG,EAAE,IAAI,EAAE,eAAe,GAAG,OAAO,CAAC,IAAI,CAAC;CAGvE","file":"rpc-notification-client.d.ts","sourcesContent":["import { Rpc } from '../rpc';\r\nimport { RpcInboundClient } from '../rpc-inbound-client';\r\nimport { RpcNotification, RpcNotificationKey } from './rpc-notification-model';\r\n\r\nexport class RpcNotificationClient {\r\n /**\r\n * The notification command.\r\n *\r\n * @param data the notification object.\r\n * @return Promise<void> the promise object.\r\n */\r\n public static notify(rpc: Rpc, data: RpcNotification): Promise<void> {\r\n return RpcInboundClient.call(rpc, RpcNotificationKey.command, RpcNotificationKey.version, data);\r\n }\r\n}\r\n"]}