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)
| 90 | // If the method parameter contains a dot ('.'), the part before the last dot |
| 91 | // specifies the interface on which the method is called. |
| 92 | func (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 |
| 97 | func (o *Object) GoWithContext(ctx context.Context, method string, flags Flags, ch chan *Call, args ...any) *Call { |
nothing calls this directly
no test coverage detected