ChannelHandle provides a wrapper on the Channel interface for operations on a particular channel ID.
| 287 | |
| 288 | // ChannelHandle provides a wrapper on the Channel interface for operations on a particular channel ID. |
| 289 | type ChannelHandle struct { |
| 290 | key *Key |
| 291 | c Channel |
| 292 | |
| 293 | exec func(ch *ChannelHandle) error |
| 294 | |
| 295 | executed bool |
| 296 | } |
| 297 | |
| 298 | // NewChannelHandle returns a handle to the given ARI channel |
| 299 | func NewChannelHandle(key *Key, c Channel, exec func(ch *ChannelHandle) error) *ChannelHandle { |
nothing calls this directly
no outgoing calls
no test coverage detected