Skip to content

[Feature]: design and implement DurableFuture::anyOf #91

@zhongkechen

Description

@zhongkechen

What would you like?

  • anyOf(op1, op2, ...) returns a new DurableFuture which completes when any of the provided durable operations completes
  • allOf(op1, op2, ...) returns a new DurableFuture which completes when all of the provided durable operations complete

Possible Implementation

Based on the CompletableFuture inside each operation

Is this a breaking change?

No

Does this require an RFC?

No

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    Status

    Ready

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions