StreamEvents returns a channel that receives real-time download events. For local mode, this is a direct channel. For remote mode, this is sourced from SSE.
(ctx context.Context)
| 44 | // For local mode, this is a direct channel. |
| 45 | // For remote mode, this is sourced from SSE. |
| 46 | StreamEvents(ctx context.Context) (<-chan interface{}, func(), error) |
| 47 | |
| 48 | // Publish emits an event into the service's event stream. |
| 49 | Publish(msg interface{}) error |
no outgoing calls