mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
12 lines
319 B
Plaintext
12 lines
319 B
Plaintext
<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>
|