Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/traneio/future
/ onValue
Method
onValue
future-java/src/main/java/io/trane/future/Future.java:657–661 ·
view source on GitHub ↗
(final T value)
Source
from the content-addressed store, hash-verified
655
}
656
657
@Override
658
public
final
void
onValue(
final
T value) {
659
if
(count.decrementAndGet() == 0)
660
become(Future.VOID);
661
}
662
663
@Override
664
protected
InterruptHandler getInterruptHandler() {
Callers
nothing calls this directly
Calls
1
become
Method · 0.80
Tested by
no test coverage detected