Diode is any implementation of a diode.
| 7 | |
| 8 | // Diode is any implementation of a diode. |
| 9 | type Diode interface { |
| 10 | Set(GenericDataType) |
| 11 | TryNext() (GenericDataType, bool) |
| 12 | } |
| 13 | |
| 14 | // Poller will poll a diode until a value is available. |
| 15 | type Poller struct { |
no outgoing calls
no test coverage detected