Interface for all types of wrapper around a channel of results and an error channel Implementors will expose a type-specific channel for results Call the Wait() function after processing the results channel to catch any errors that occurred during the async processing
| 7 | // Call the Wait() function after processing the results channel to catch any errors |
| 8 | // that occurred during the async processing |
| 9 | type ChannelWrapper interface { |
| 10 | // Call this after processing results channel to check for async errors |
| 11 | Wait() error |
| 12 | } |
| 13 | |
| 14 | // Base implementation of channel wrapper to just deal with errors |
| 15 | type BaseChannelWrapper struct { |
no outgoing calls
no test coverage detected