kactoos-jvm / nnl.rocks.kactoos.func / TimedFunc / <init>
TimedFunc(function: Func<X, Y>, milliseconds: Long)TimedFunc(time: Long, func: Func<X, Future<Y>>)
Function that gets interrupted after a certain time has passed.
X - Type of input
Y - Type of output
func - Async function
time - Milliseconds
Since 0.4