Package | Description |
---|---|
gololang.concurrent.async |
Support for asynchronous programming constructs.
|
Modifier and Type | Method and Description |
---|---|
Future |
Future.onFail(Future.Observer observer)
Registers a callback for when the future fails.
|
Future |
AssignedFuture.onFail(Future.Observer observer) |
Future |
Future.onSet(Future.Observer observer)
Registers a callback for when the future is set.
|
Future |
AssignedFuture.onSet(Future.Observer observer) |