MCPcopy Create free account
hub / github.com/authzed/authzed-node / create

Method create

src/v1.ts:277–286  ·  view source on GitHub ↗
(
    endpoint: string,
    creds: grpc.ChannelCredentials,
    preconnect: util.PreconnectServices,
    options: grpc.ClientOptions | undefined,
  )

Source from the content-addressed store, hash-verified

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") {

Callers

nothing calls this directly

Calls 1

createMethod · 0.45

Tested by

no test coverage detected