Configuration parameters for the resumable
Configured ArvoResumable instance ready for event handling
const resumable = createArvoResumable({
contracts: {
self: myOrchestratorContract,
services: {
userService: userContract.version('1.0.0'),
paymentService: paymentContract.version('1.0.0') }
},
memory: new SimpleMachineMemory(),
handler: {
'1.0.0': async ({ input, service, context }) => {
// Handler implementation
}
},
});
Creates a new ArvoResumable orchestrator instance.
Factory function that constructs a resumable workflow handler with automatic resource locking determination and contract validation. Validates that service contracts have unique URIs and no circular dependencies exist.