Error returns any error that occurred during reading data from source AddCancel attaches a cancel function to the image data. Please note that Cancel functions must be idempotent: for instance, an implementation could wrap cancel into sync.Once.
(cancel context.CancelFunc)
| 28 | // Please note that Cancel functions must be idempotent: for instance, an implementation |
| 29 | // could wrap cancel into sync.Once. |
| 30 | AddCancel(cancel context.CancelFunc) |
| 31 | } |
| 32 | |
| 33 | // imageDataBytes represents image data stored in a byte slice in memory |
no outgoing calls
no test coverage detected