The first number is the count of modules that contain a package that imports this one.
The module count is a better indicator of popularity than the package count.
A module with 100 importing packages is counted only once instead of 100 times,
reflecting the fact that the choice to use the package was likely made only once,
not 100 times.
A '?' means that the value hasn't been computed yet.
type Bus struct {
// contains filtered or unexported fields
}
Bus fans events out to subscribers in publish order. A subscriber that
falls a full buffer behind is closed rather than skipped, so its client
reconnects and reloads instead of missing events silently.
Subscribe streams the session's events (every session's for an empty
sessionID), first those after afterID still in the history; afterID 0
replays none. The channel closes when ctx ends or the subscriber falls
behind.
type Event struct {
ID uint64 `json:"id,omitempty"`
Type Type `json:"type"`
SessionID string `json:"session_id"`
RunID string `json:"run_id,omitempty"`
Payload any `json:"payload,omitempty"`
At time.Time `json:"at"`
}
Event is the daemon-owned envelope for live fan-out.