package
4.0.2-stable+incompatible
Repository: https://github.com/algorand/go-algorand.git
Documentation: pkg.go.dev
# Functions
MakeBacklog creates a backlog.
MakePool creates a pool.
MakeStreamToBatch creates a new stream to batch converter.
# Constants
The list of all valid priority values.
The list of all valid priority values.
# Variables
ErrShuttingDownError is the error returned when a job is not processed because the service is shutting down.
# Structs
StreamToBatch makes batches from incoming stream of jobs, and submits the batches to the exec pool.
# Interfaces
BacklogPool supports all the ExecutionPool functions plus few more that tests the pending tasks.
BatchProcessor is the interface of the functions needed to prepare a batch from the stream, process and return the results.
ExecutionPool interface exposes the core functionality of the execution pool.
InputJob is the interface the incoming jobs need to implement.