GoWithContext acts like Go but takes a context
(ctx context.Context, method string, flags Flags, ch chan *Call, args ...any)
| 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 { |
| 98 | return o.createCall(ctx, method, flags, ch, args...) |
| 99 | } |
| 100 | |
| 101 | func (o *Object) createCall(ctx context.Context, method string, flags Flags, ch chan *Call, args ...any) *Call { |
| 102 | if ctx == nil { |
nothing calls this directly
no test coverage detected