MCPcopy Create free account
hub / github.com/apache/dubbo-go / WithCallBack

Function WithCallBack

protocol/invocation/rpcinvocation.go:339–343  ·  view source on GitHub ↗

WithCallBack creates option with @callback function.

(callBack any)

Source from the content-addressed store, hash-verified

337
338// WithCallBack creates option with @callback function.
339func WithCallBack(callBack any) option {
340 return func(invo *RPCInvocation) {
341 invo.callBack = callBack
342 }
343}
344
345// WithAttachments creates option with @attachments.
346func WithAttachments(attachments map[string]any) option {

Callers 3

createInvocationFunction · 0.92

Calls

no outgoing calls

Tested by 2

createInvocationFunction · 0.74