Skip to content

[Bug]: CompletedDurableFuture doesn't work with anyOf #296

@zhongkechen

Description

@zhongkechen

Expected Behavior

DurableFuture::anyOf should work with CompletedDurableFuture, which is returned if the map doesn't have any branches

Actual Behavior

DurableFuture::anyOf expects every DurableFuture to be a BaseDurableOperation but CompletedDurableFuture isn't

Steps to Reproduce

N/A

SDK Version

1.0.0

Java Version

17

Is this a regression?

No

Last Working Version

No response

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    Backlog

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions