Loader interface
Signature:
export interface Loader<T extends LoaderContext> Properties
| Property | Modifiers | Type | Description |
|---|---|---|---|
| context | T | ||
| getCacheAge? | () => number | null | (Optional) For HTTP based loaders, this should return the contents of the "age" header. |
|
| stats | LoaderStats |
Methods
| Method | Description |
|---|---|
| abort() | |
| destroy() | |
| load(context, config, callbacks) |