Ƭ RemoteChunkResolver: (chunkId: string, parentChunkId?: string) => Promise<RemoteChunkLocation>
▸ (chunkId, parentChunkId?): Promise<RemoteChunkLocation>
Defines a function to resolve remote chunk used in ChunkManagerConfig. It's an async function which should return an object with defining how ChunkManager should fetch a remote chunk. All fields describing the chunk are listed in RemoteChunkLocation.
| Name | Type |
|---|---|
chunkId |
string |
parentChunkId? |
string |
Promise<RemoteChunkLocation>