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

Method CallWithContext

object.go:38–40  ·  view source on GitHub ↗

CallWithContext acts like Call but takes a context

(ctx context.Context, method string, flags Flags, args ...any)

Source from the content-addressed store, hash-verified

36
37// CallWithContext acts like Call but takes a context
38func (o *Object) CallWithContext(ctx context.Context, method string, flags Flags, args ...any) *Call {
39 return <-o.createCall(ctx, method, flags, make(chan *Call, 1), args...).Done
40}
41
42// AddMatchSignal subscribes BusObject to signals from specified interface,
43// method (member). Additional filter rules can be added via WithMatch* option constructors.

Callers

nothing calls this directly

Calls 1

createCallMethod · 0.95

Tested by

no test coverage detected