OnFinishCallOption is CallOption that indicates a callback to be called when the call completes. # Experimental Notice: This type is EXPERIMENTAL and may be changed or removed in a later release.
| 391 | // Notice: This type is EXPERIMENTAL and may be changed or removed in a |
| 392 | // later release. |
| 393 | type OnFinishCallOption struct { |
| 394 | OnFinish func(error) |
| 395 | } |
| 396 | |
| 397 | func (o OnFinishCallOption) before(c *callInfo) error { |
| 398 | c.onFinish = append(c.onFinish, o.OnFinish) |
nothing calls this directly
no outgoing calls
no test coverage detected