(
endpoint: string,
creds: grpc.ChannelCredentials,
preconnect: util.PreconnectServices,
options: grpc.ClientOptions | undefined,
)
| 275 | } |
| 276 | |
| 277 | static create( |
| 278 | endpoint: string, |
| 279 | creds: grpc.ChannelCredentials, |
| 280 | preconnect: util.PreconnectServices, |
| 281 | options: grpc.ClientOptions | undefined, |
| 282 | ) { |
| 283 | const client = ZedClient.create(endpoint, creds, preconnect, options); |
| 284 | const promiseClient = ZedPromiseClient.create(client); |
| 285 | return new Proxy({} as any, new ZedCombinedClient(client, promiseClient)); |
| 286 | } |
| 287 | |
| 288 | get(_target: object, name: string | symbol) { |
| 289 | if (name === "promises") { |