Kactoos

kactoos-jvm / nnl.rocks.kactoos.func / ProcOf

ProcOf

class ProcOf<in X : Any> : Proc<X>

Func as Proc.

There is no thread-safety guarantee.

Parameters

X - Type of input

proc - The proc

Since 0.4

Constructors

Name Summary
<init> ProcOf(fnc: Func<X, *>)ProcOf(proc: KProc<X>)
Func as Proc.

Functions

Name Summary
exec fun exec(input: X): Unit
Execute it.