| Package | Description |
|---|---|
| javascalautils |
Contains various utility classes translated from the Scala language.
|
| javascalautils.concurrent |
Contains utilities for concurrent/asynchronous programming.
|
| Modifier and Type | Method and Description |
|---|---|
static <T> Try<T> |
Try.apply(ThrowableFunction0<T> function)
Creates an instance of Try wrapping the result of the provided function.
|
static <T> Try<T> |
TryCompanion.Try(ThrowableFunction0<T> function)
Creates an instance of
Try wrapping the result of the provided function. |
| Modifier and Type | Method and Description |
|---|---|
static <T> Future<T> |
Future.apply(ThrowableFunction0<T> function)
Allows for easy creation of asynchronous computations that will be executed in the future.
|
static <T> Future<T> |
FutureCompanion.Future(ThrowableFunction0<T> function)
Allows for easy creation of asynchronous computations that will be executed in the future.
|
Copyright © 2015, Peter Nerg Apache License v2.0