vlingo / xoom-schemata

The VLINGO XOOM Schema Registry.
https://vlingo.io
Mozilla Public License 2.0
17 stars 9 forks source link

Prevent hanging of requests for schema dependencies #201

Closed jakzal closed 3 years ago

jakzal commented 3 years ago

I think this has proved we should discourage (or make it impossible) for end users to use completesEventually() with completes() directly:

CompletesEventually completes = completesEventually();
eventualOutcome.andFinallyConsume((R value) -> completes.with(value));
return completes();

and suggest using answerFrom() instead:

return answerFrom(eventualOutcome);

Related PRs: