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

Method Call

object.go:33–35  ·  view source on GitHub ↗

Call calls a method with (*Object).Go and waits for its reply.

(method string, flags Flags, args ...any)

Source from the content-addressed store, hash-verified

31
32// Call calls a method with (*Object).Go and waits for its reply.
33func (o *Object) Call(method string, flags Flags, args ...any) *Call {
34 return <-o.createCall(context.Background(), method, flags, make(chan *Call, 1), args...).Done
35}
36
37// CallWithContext acts like Call but takes a context
38func (o *Object) CallWithContext(ctx context.Context, method string, flags Flags, args ...any) *Call {

Callers 2

StorePropertyMethod · 0.95
SetPropertyMethod · 0.95

Calls 1

createCallMethod · 0.95

Tested by

no test coverage detected