channel/internal_stuff.go
2025-01-15 12:31:59 +01:00

13 lines
178 B
Go

package channel
import "runtime"
type mapEntry[K comparable, V any] struct {
Key K
Value V
}
func getDefaultRunner() Runner {
return NewLimitedRunner(runtime.NumCPU())
}