Skip to content
中文

Artifacts & recovery ​

Kit · Optional business libraries · Back to layer index

SymbolKindPurpose
ArtifactReferenceinterfaceReferences locate artifacts; only the App resolver establishes access and current validity.
ArtifactResolverinterfaceApp-registered resolver that turns a reference into an App value.
Artifactsconstant
defineArtifactCatalogfunctionCompile a catalog of artifact resolvers plus a checked resolve entry point.
defineDurableTaskfunctionCompile a durable task definition into a resumable runner. Each run call locks the task id in the store, loads the checkpoint and resumes at nextStepIndex. A checkpoint from another definition id or revision, or one that fails the predicates below, is rejected instead of being repaired, because silently accepting it would replay App side effects under a different contract.
Durableconstant
DurableCheckpointinterfacePersisted task progress; the only state a resume reads back.
durableReplayPoliciesconstant
durableStatusesconstant
DurableStepinterfaceOne step of a durable task.
DurableStepContextinterfaceExecution facts handed to a durable step.
DurableStoreinterfaceApp implements an exclusive lock across every writer and validates/serializes stored state.
DurableTaskinterfaceCompiled task: resumes from the store and returns the final state.
DurableTaskDefinitioninterfaceTask definition, including the App hooks that guard every resume.
DurableTaskOptionsinterfaceRuntime options for a compiled durable task.

API reference, usage examples and developer guides.