MCPcopy Create free account
hub / github.com/ReactiveX/RxGo / averageIntOperator

Struct averageIntOperator

observable_operator.go:157–160  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

155}
156
157type averageIntOperator struct {
158 sum int
159 count int
160}
161
162func (op *averageIntOperator) next(ctx context.Context, item Item, dst chan<- Item, operatorOptions operatorOptions) {
163 switch v := item.V.(type) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected