kactoos-jvm / nnl.rocks.kactoos.func / ProcOf
class ProcOf<in X :
Any
> :
Proc
<
X
>
Func as Proc.
There is no thread-safety guarantee.
X
- Type of input
proc
- The proc
Since 0.4
Name | Summary |
---|---|
<init> | ProcOf(fnc: Func < X , *>) ProcOf(proc: KProc < X >) Func as Proc. |
Name | Summary |
---|---|
exec | fun exec(input: X ): Unit Execute it. |