Github user ahgittin commented on a diff in the pull request:
https://github.com/apache/brooklyn-server/pull/480#discussion_r101877735
--- Diff:
api/src/main/java/org/apache/brooklyn/api/mgmt/ExecutionContext.java ---
@@ -64,4 +65,6 @@
boolean isShutdown();
+ <T> Maybe<T> getImmediately(Object callableOrSupplier);
--- End diff --
good idea. we should maybe move `ImmediateSupplier` to the utils package,
then we could reference its javadoc? we might also change the return type to
be `ReferenceWithError<Maybe<T>>` so the "can't immediately tell if there's a
value" problem state can be detected without throwing. have marked `@Beta` for
now.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---