(id StreamID)
| 112 | } |
| 113 | |
| 114 | func (m *Streamer) loadStream(id StreamID) (*stream, bool) { |
| 115 | strm, ok := m.streams.Load(id) |
| 116 | if !ok { |
| 117 | return nil, false |
| 118 | } |
| 119 | return strm.(*stream), true |
| 120 | } |
| 121 | |
| 122 | type syncStreamIDGenerator struct { |
| 123 | current uint64 |
no outgoing calls
no test coverage detected