A "stack" with a bounded size.
A config object contains vars for configuring an object of type T, and an apply() method which turns this config into an object of type T.
This class is for Java friendliness.
A computation evaluated asynchronously.
An alternative interface for handling Future Events.
An implementation of java.
A concrete Future implementation that is updatable by some executor or event loop.
Test mixin that creates a new folder for a block of code to execute in.
A thread-safe wrapper around a SimpleDateFormat object.
This trait represents a computation that can succeed or fail.
Use Time.now
in your app instead of System.currentTimeMillis
, and
unit tests will be able to adjust the current time to verify timeouts
and other time-dependent behavior, without calling sleep
.
Checks for overflow
The Try type represents a computation that may either result in an exception or return a success value.