FetchLoader
Constructor Summary
Public Constructor | ||
public |
|
Member Summary
Public Members | ||
public |
callbacks: * |
|
public |
config: * |
|
public |
context: LoaderContext |
|
public |
controller: AbortController |
|
public |
|
|
public |
loader: * |
|
public |
request: Request |
|
public |
|
|
public |
response: Response |
|
public |
stats: LoaderStats |
Method Summary
Public Methods | ||
public |
abort() |
|
public |
|
|
public |
destroy() |
|
public |
getCacheAge(): * |
|
public |
load(context: LoaderContext, config: LoaderConfiguration, callbacks: LoaderCallbacks) |
|
public |
loadProgressively(response: Response, stats: LoaderStats, context: LoaderContext, highWaterMark: number, onProgress: LoaderOnProgress): Promise |
Public Constructors
public constructor() source
Public Members
public callbacks: * source
public config: * source
public context: LoaderContext source
public controller: AbortController source
public loader: * source
public request: Request source
public response: Response source
public stats: LoaderStats source
Public Methods
public abort() source
public abortInternal() source
public destroy() source
public load(context: LoaderContext, config: LoaderConfiguration, callbacks: LoaderCallbacks) source
Params:
Name | Type | Attribute | Description |
context | LoaderContext | ||
config | LoaderConfiguration | ||
callbacks | LoaderCallbacks |
public loadProgressively(response: Response, stats: LoaderStats, context: LoaderContext, highWaterMark: number, onProgress: LoaderOnProgress): Promise source
Params:
Name | Type | Attribute | Description |
response | Response | ||
stats | LoaderStats | ||
context | LoaderContext | ||
highWaterMark | number | ||
onProgress | LoaderOnProgress |