MCPcopy Index your code
hub / github.com/git-bug/git-bug / getEventHandleMsgs

Method getEventHandleMsgs

bridge/github/import.go:151–162  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

149}
150
151func (gi *githubImporter) getEventHandleMsgs() ImportEvent {
152 for {
153 // read event from import mediator
154 event := gi.mediator.NextImportEvent()
155 // consume (and use) all rate limiting events
156 if e, ok := event.(RateLimitingEvent); ok {
157 gi.out <- core.NewImportRateLimiting(e.msg)
158 continue
159 }
160 return event
161 }
162}
163
164func (gi *githubImporter) commit(b *cache.BugCache, out chan<- core.ImportResult) error {
165 if b == nil {

Callers 1

ImportAllMethod · 0.95

Calls 2

NewImportRateLimitingFunction · 0.92
NextImportEventMethod · 0.80

Tested by

no test coverage detected