Package io.deephaven.web.shared.fu
Interface PromiseLike<T>
- All Known Implementing Classes:
LazyPromise
public interface PromiseLike<T>
A useful interface for "promise-like" objects, (actually, our LazyPromise class), so we can expose utility functions
that know how to deal with these objects, without actually putting them on the shared classpath.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoid
onFailure
(JsConsumer<Object> failure) void
onSuccess
(JsConsumer<T> success)
-
Field Details
-
CANCELLATION_MESSAGE
- See Also:
-
-
Method Details