Package | Description |
---|---|
io.vavr |
Beside
API the io.vavr package contains core types like (Checked)Functions and Tuples. |
io.vavr.concurrent |
This package contains basic building blocks for creating fast, asynchronous, non-blocking parallel code.
|
io.vavr.control |
Modifier and Type | Method and Description |
---|---|
static CheckedRunnable |
CheckedRunnable.of(CheckedRunnable methodReference)
Creates a
CheckedRunnable . |
Modifier and Type | Method and Description |
---|---|
static CheckedRunnable |
CheckedRunnable.of(CheckedRunnable methodReference)
Creates a
CheckedRunnable . |
Modifier and Type | Method and Description |
---|---|
static Future<Void> |
Future.run(CheckedRunnable unit)
Runs an asynchronous computation, backed by the
Future.DEFAULT_EXECUTOR . |
static Future<Void> |
Future.run(Executor executor,
CheckedRunnable unit)
Starts an asynchronous computation, backed by the given
Executor . |
Modifier and Type | Method and Description |
---|---|
default Try<T> |
Try.andFinallyTry(CheckedRunnable runnable)
Provides try's finally behavior no matter what the result of the operation is.
|
default Try<T> |
Try.andThenTry(CheckedRunnable runnable)
Runs the given runnable if this is a
Success , otherwise returns this Failure . |
static Try<Void> |
Try.run(CheckedRunnable runnable)
Creates a Try of a CheckedRunnable.
|
Copyright © 2021. All Rights Reserved.