chitralverma opened a new issue, #9422:
URL: https://github.com/apache/opendal/issues/9422

   Drafted with AI assistance and reviewed by the submitter.
   
   ### Feature Description
   
   Add `compose` and `compose_options` to `blocking::Operator`.
   
   ### Problem and Solution
   
   `blocking::Operator` has no compose. Compose is the only `Operator` 
operation with no blocking form. The Python `Operator` and the Node.js `*Sync` 
methods wrap `blocking::Operator`, so they cannot add compose without a second 
runtime bridge. `DESIGN.md` makes `blocking::Operator` the one thin bridge over 
`Operator`.
   
   - `compose(inputs, to) -> Result<Metadata>`
   - `compose_options(inputs, to, ComposeOptions) -> Result<Metadata>`
   
   Each method collects the inputs into owned `(String, ComposeSourceOptions)` 
pairs. It then runs `Operator::compose_options` through `spawn_block`, as 
`copy_options` and `restore_options` do. There is no blocking `Composer`: the 
planned binding APIs take a complete source list. The compose contract does not 
change.
   
   RFC-8188 kept the blocking API out of version 1. .NET already has a sync 
`Compose` over its own executor (#8529).
   
   ### Additional Context
   
   Related: #8188, #8191, #9321, #9322.
   
   ### Are you willing to contribute to the development of this feature?
   
   - [x] Yes, I am willing to contribute to the development of this feature.
   
   *This comment is AI assisted.*
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to