question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Prove design for rehydration of Operation and Operation<T>

See original GitHub issue

Operation types must provide a constructor that allows users to access an existing LRO.

Currently, protocol methods and their convenience APIs that start/complete long-running operations return either Operation or Operation<T>. Neither of these types provides a way to access an existing LRO as required by the guidelines.

This issues tracks the work to provide a proof of concept that we can implement this functionality. An implementation is not required for DPG GA, but will be a DPG v1.1 feature.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
KrzysztofCwalinacommented, Jun 2, 2022

or we add this missing functionality to the base type. i.e. we convinced ourselves that we will be able to support it post v1

0reactions
annelo-msftcommented, Jun 2, 2022

Per @KrzysztofCwalina, it is not required to produce a design prior to DPG v1.0 GA. Having considered multiple approaches to design, I believe that any of them can be made to work with design tradeoffs and that all the pieces are in place such that we can add operation rehydration without making breaking changes to the protocol methods on DPG libraries.

Right now, we return Operation or Operation<BinaryData> in the method signatures of methods that invoke long running operations. We don’t expect to change this in the future. If we need to add subtypes of Operation specific to DPG to add functionality in the future, we will require rehydration of the operation or a downcast to the subtype to access that functionality.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Design and Operations of the Hydrate 01 Stratigraphic Test ...
This report provides an overview of the operational aspects of the Hydrate-01 STW, including: (1) pre-drill site selection process, (2) pre-drill project and...
Read more >
Rehydration - an overview
Nevertheless, the present technique generally allows design of oil-based protein gels, which exhibit tuneable elastic properties, and which can re-emulsified ...
Read more >
Design and operation of a pervaporation plant for ethanol ...
This paper describes the development of the LURGI pervaporator consisting of a special plate -type membrane module and an integrated permeate condenser combined ......
Read more >
Course Search - National Highway Institute
Search for courses based on delivery type, program area, or topic below, or find upcoming trainings in your state or territory. For more...
Read more >
Hydration monitoring and rehydration guidance system for ...
The research team developed a urine hydration monitoring and rehydration ... The system exhibits stable performance, a friendly operation ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found