MCPcopy Create free account
hub / github.com/godbus/dbus / Go

Method Go

object.go:92–94  ·  view source on GitHub ↗

Go calls a method with the given arguments asynchronously. It returns a Call structure representing this method call. The passed channel will return the same value once the call is done. If ch is nil, a new channel will be allocated. Otherwise, ch has to be buffered or Go will panic. If the flags i

(method string, flags Flags, ch chan *Call, args ...any)

Source from the content-addressed store, hash-verified

90// If the method parameter contains a dot ('.'), the part before the last dot
91// specifies the interface on which the method is called.
92func (o *Object) Go(method string, flags Flags, ch chan *Call, args ...any) *Call {
93 return o.createCall(context.Background(), method, flags, ch, args...)
94}
95
96// GoWithContext acts like Go but takes a context
97func (o *Object) GoWithContext(ctx context.Context, method string, flags Flags, ch chan *Call, args ...any) *Call {

Callers

nothing calls this directly

Calls 1

createCallMethod · 0.95

Tested by

no test coverage detected