Error returns a channel that is closed when some I/O error happens. Typically the caller should have a goroutine to monitor this in order to take action (e.g., close the current transport and create a new one) in error case. It should not return nil once the transport is initiated.
()
| 631 | // and create a new one) in error case. It should not return nil |
| 632 | // once the transport is initiated. |
| 633 | Error() <-chan struct{} |
| 634 | |
| 635 | // GoAway returns a channel that is closed when ClientTransport |
| 636 | // receives the draining signal from the server (e.g., GOAWAY frame in |
no outgoing calls