ITigerExecutionProgressHandle
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
Handle to the progress of the server execution that produced an execution result.
export interface ITigerExecutionProgressHandle
Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
string | (ALPHA) Server-side execution id (the X-GDC-CANCEL-TOKEN of the execute call). | ||
(signal?: AbortSignal) => Promise<IComputationProfile | null> | (ALPHA) Loads how the result was originally computed, from the result’s metadata. Resolves to null when the backend stored no profile for the result (e.g. results cached before the profile was introduced). | ||
(signal?: AbortSignal) => ReadableStream<IExecutionProgressEvent> | (ALPHA) Opens the progress stream of the execution. |
Property details
ITigerExecutionProgressHandle.executionIdpropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
Server-side execution id (the X-GDC-CANCEL-TOKEN of the execute call).
executionId: string;
ITigerExecutionProgressHandle.loadComputationProfilepropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
Loads how the result was originally computed, from the result’s metadata. Resolves to null when the backend stored no profile for the result (e.g. results cached before the profile was introduced).
loadComputationProfile: (signal?: AbortSignal) => Promise<IComputationProfile | null>;
ITigerExecutionProgressHandle.streampropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
Opens the progress stream of the execution.
stream: (signal?: AbortSignal) => ReadableStream<IExecutionProgressEvent>;