package
2.129.31
Repository: https://github.com/bloxroute-labs/gateway.git
Documentation: pkg.go.dev

# Functions

NewBatchExecutor creates a new instance of BatchExecutor with the specified execute function that defines how each batch of requests is processed.
NewIntegerBatchExecutor creates a new instance of BatchExecutor with integer requests.
NewStringBatchExecutor creates a new instance of BatchExecutor with string requests.

# Structs

BatchExecutor manages the execution of batches of requests ensuring that each unique request is processed only once concurrently.

# Type aliases

ExecuteFunc is a generic function type that processes a batch of requests of type K and returns results of type T.