Skip to content
English

产物与恢复 ​

Kit · 可选业务库 · 返回本层目录

符号类别用途
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.

接口参考、使用示例与开发指南。