cloudflared-mirror/vendor/zombiezen.com/go/capnproto2/capnpc-go/templates/promiseFieldInterface

5 lines
212 B
Plaintext

func (p {{.Node.Name}}_Promise) {{.Field.Name|title}}() {{.G.RemoteNodeName .Interface .Node}} {
return {{.G.RemoteNodeName .Interface .Node}}{Client: p.Pipeline.GetPipeline({{.Field.Slot.Offset}}).Client()}
}