uni-flow 公开 API(中文注解) / createSharedState
Function: createSharedState()
createSharedState():
SharedState
Defined in: core/shared-state.ts:140
创建默认的进程内 SharedState(InMemorySharedState)。
供 createWorkflowEngine / createEngineFromYaml 等在未显式传入 sharedState 时使用。
Returns
新的空 SharedState 实例