nv_tooling library

Classes

Error<V, E extends Object>
Error case.
Nothing
Void object for value cases that should return void.
NvIterableExtensions
Empty class that exists to make importing iterable extension easier.
OptionalSelection<T>
Result<S, E extends Object>
Base class declaring the interface.
Selection<T>
Value<V, E extends Object>
Value case.

Extensions

IterableExtensions on Iterable<T>
Selection of Iterable Extensions frequently used at NonVanilla.

Constants

nothing → const Nothing
Cleaner way to return a Nothing object.

Functions

exceptionOf<V, E extends Object>(E exception) Result<V, E>
Constructor wrapper for Exception which reads nicer.
resultOf<V, E extends Object>(V value) Result<V, E>
Constructor wrapper for Value which reads nicer.

Typedefs

AsyncResult<V, E extends Object> = Future<Result<V, E>>