-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Continuations #3
Comments
Storing data across execution contexts
|
How to store documents in Continuation Data?It's not possible:
How to transfer complex data across execution contexts?Let's say I have an interactive flow that mimics an authentication. It asks for the user's name and password, then the user's OTP code. flowchart TB
subgraph main
a[Entrypoint]
==>|init| b[Ask interactive: Username?]
-.->|ok\nasync| c[Ask interactive: Password?]
-.->|ok\nasync| z[Check user exists]
==>|ok| d[Ask interactive: OTP Code?]
-.->|ok\nasync| y[Check OTP]
==>|ok| e["Show result: Welcome {{ username }}!"]
end
subgraph context
%%subgraph coda1
bx([username]) --o b
%%subgraph coda2
cx([password]) --o c
%%subgraph coda3
dx([otp_code]) --o d
%%end
%%end
%%end
end
bx ~~~ cx ~~~ dx
bx --- z
cx --- z
bx --- y
dx --- y
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Examples:
The text was updated successfully, but these errors were encountered: