Skip to main content

Interactive application

Cadence is performant and scalable enough to support interactive applications. It can be used to track UI session state and at the same time execute background operations. For example, while placing an order a customer might need to go through several screens while a background task evaluates the customer for fraudulent activity.

Samples

Runnable interactive-application samples:

SampleDescriptionCode
Query workflow stateExposes in-progress workflow state to synchronous queriesGo · Java
Consistent queryStrongly consistent reads of workflow stateGo
Signal and responseUI-style interaction: send a signal, then read the workflow's responseJava
Human-in-the-loop agentAgent workflow that pauses for human approval and answers queries about pending interruptionsPython