| |
| |
| |
| # connectToAgentService<T> function |
| |
| |
| |
| |
| |
| |
| *[<Null safety>](https://dart.dev/null-safety)* |
| |
| |
| |
| |
| void connectToAgentService |
| <T>(String agentUrl, [AsyncProxy](../package-fidl_fidl/AsyncProxy-class.md)<T> serviceProxy, {dynamic componentContextProxy}) |
| |
| |
| |
| <p>TODO(fxbug.dev/49976): Remove this once clients have been migrated |
| to use deprecatedConnectToAgentService().</p> |
| |
| |
| |
| ## Implementation |
| |
| ```dart |
| void connectToAgentService<T>(String agentUrl, AsyncProxy<T> serviceProxy, |
| {fidl_modular.ComponentContextProxy? componentContextProxy}) { |
| deprecatedConnectToAgentService(agentUrl, serviceProxy, |
| componentContextProxy: componentContextProxy); |
| } |
| ``` |
| |
| |
| |
| |
| |
| |
| |