<import src="/gen/mojo/public/sky/connection.sky" as="connection" /> | |
<script> | |
function connectToService(url, service, client) { | |
var handle = internals.connectToService(url, service.name); | |
return connection.bindHandleToProxy(handle, service); | |
} | |
module.exports = { | |
connectToService: connectToService, | |
}; | |
</script> |