MCPcopy Index your code
hub / github.com/wavetermdev/waveterm / hasUpdatesReturn

Function hasUpdatesReturn

pkg/tsgen/tsgen.go:339–347  ·  view source on GitHub ↗
(method reflect.Method)

Source from the content-addressed store, hash-verified

337}
338
339func hasUpdatesReturn(method reflect.Method) bool {
340 for idx := 0; idx < method.Type.NumOut(); idx++ {
341 outType := method.Type.Out(idx)
342 if outType == updatesRtnRType {
343 return true
344 }
345 }
346 return false
347}
348
349func GenerateMethodSignature(serviceName string, method reflect.Method, meta tsgenmeta.MethodMeta, isFirst bool, tsTypesMap map[reflect.Type]string) string {
350 var sb strings.Builder

Callers 1

GenerateMethodSignatureFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected