Add API to get an array of tunnel descriptions

This commit is contained in:
Alex Ross
2020-01-20 12:30:02 +01:00
parent 089e1b7f4e
commit 40aa781ab8
6 changed files with 29 additions and 1 deletions

View File

@@ -762,6 +762,9 @@ export function createApiFactoryAndRegisterActors(accessor: ServicesAccessor): I
openTunnel: (forward: vscode.TunnelOptions) => {
checkProposedApiEnabled(extension);
return extHostTunnelService.openTunnel(forward);
},
get tunnels() {
return extHostTunnelService.getTunnels();
}
};