IComputationProfile
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
How a cached result was originally computed, stored together with the cached data.
export interface IComputationProfile
Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
number | null | (ALPHA) (Optional) epoch ms when the cached result was written | ||
number | null | (ALPHA) (Optional) epoch ms the original root computation’s result was complete | ||
string | null | (ALPHA) (Optional) set when | ||
IComputationProfileSource[] | null | (ALPHA) (Optional) | ||
number | null | (ALPHA) (Optional) epoch ms the original root computation started | ||
number | null | (ALPHA) (Optional) the original root computation end to end: | ||
number | (ALPHA) (Optional) |
Property details
IComputationProfile.computedAtpropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
epoch ms when the cached result was written
computedAt?: number | null;
IComputationProfile.finishedAtpropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
epoch ms the original root computation’s result was complete
finishedAt?: number | null;
IComputationProfile.finishedAtApproxpropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
set when finishedAt is approximated, names the milestone used (e.g. postprocessingStarted)
finishedAtApprox?: string | null;
IComputationProfile.sourcespropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
sources?: IComputationProfileSource[] | null;
IComputationProfile.startedAtpropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
epoch ms the original root computation started
startedAt?: number | null;
IComputationProfile.totalDurationMspropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
the original root computation end to end: finishedAt - startedAt
totalDurationMs?: number | null;
IComputationProfile.vpropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
v?: number;