Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewStandardStrategy ¶
func NewStandardStrategy(batch dataloader.BatchFunction, opts Options) func(int) dataloader.Strategy
NewStandardStrategy returns a new instance of the standard strategy. The Standard Strategy, calls the batch function once when the keys array reaches capacity then subsequent calls to `Load()` will call the batch function with the individual keys.
Types ¶
Click to show internal directories.
Click to hide internal directories.