MCPcopy Create free account
hub / github.com/CyCoreSystems/ari / ChannelHandle

Struct ChannelHandle

channel.go:289–296  ·  view source on GitHub ↗

ChannelHandle provides a wrapper on the Channel interface for operations on a particular channel ID.

Source from the content-addressed store, hash-verified

287
288// ChannelHandle provides a wrapper on the Channel interface for operations on a particular channel ID.
289type 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
299func NewChannelHandle(key *Key, c Channel, exec func(ch *ChannelHandle) error) *ChannelHandle {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected