cadence-java-client
cadence-java-client copied to clipboard
Workflow await with timeout doesn't cancel timeout
Workflow await can be performed with an optional timeout duration for ex:
Workflow.await(Duration.ofHours(1),() -> unblockCondition());
When a workflow waits for this condition and unblockCondition is evaluated to true, the timer doesn't get cancelled. The Cadence web UI indicates that timer is still running and it gets fired after the timeout.