Dataloader.Source protocol (dataloader v1.0.11) View Source
Link to this section Summary
Functions
Fetch the result found under the given batch and item keys.
Enqueue an item to be loaded under a given batch
Determine if there are any batches that have not yet been run.
Put a value into the results.
Run any batches queued up for this source.
Returns the timeout (in ms) for the source.
Link to this section Types
Link to this section Functions
Specs
Fetch the result found under the given batch and item keys.
Specs
Enqueue an item to be loaded under a given batch
Specs
Determine if there are any batches that have not yet been run.
Specs
Put a value into the results.
Useful for warming caches. The source is permitted to reject the value.
Specs
Run any batches queued up for this source.
Specs
Returns the timeout (in ms) for the source.
This is important for ensuring the dataloader obeys the timeouts when running multiple sources concurrently