MCPcopy Create free account
hub / github.com/temporalio/temporal / GetClientForKey

Method GetClientForKey

common/client_cache.go:66–72  ·  view source on GitHub ↗
(key string, index int)

Source from the content-addressed store, hash-verified

64}
65
66func (c *clientCacheImpl) GetClientForKey(key string, index int) (any, error) {
67 clientKey, err := c.Lookup(key, index)
68 if err != nil {
69 return nil, err
70 }
71 return c.GetClientForClientKey(clientKey)
72}
73
74func (c *clientCacheImpl) GetClientForClientKey(clientKey string) (any, error) {
75 c.cacheLock.RLock()

Callers

nothing calls this directly

Calls 2

LookupMethod · 0.95
GetClientForClientKeyMethod · 0.95

Tested by

no test coverage detected