new BlockedSource()
- Source:
Extends
- module:source/basesource.BaseSource
Classes
Members
evictedBlocks :Map.<number, module:source/blockedsource~Block>
Type:
- Map.<number, module:source/blockedsource~Block>
- Source:
Methods
(async) fetch(slices)
Parameters:
Name | Type | Description |
---|---|---|
slices |
Array.<module:source/basesource~Slice> |
- Source:
fetchBlocks(signal)
Parameters:
Name | Type | Description |
---|---|---|
signal |
AbortSignal |
- Source:
groupBlocks(blockIds) → {Array.<module:source/blockedsource~BlockGroup>}
Parameters:
Name | Type | Description |
---|---|---|
blockIds |
Set |
- Source:
Returns:
- Type
- Array.<module:source/blockedsource~BlockGroup>
readSliceData(slices, blocks)
Parameters:
Name | Type | Description |
---|---|---|
slices |
Array.<module:source/basesource~Slice> | |
blocks |
Map |
- Source: