Modifier and Type | Field and Description |
---|---|
static UnitSlot |
NOOP
A slot that does nothing.
|
Modifier and Type | Method and Description |
---|---|
static <T> Slot<T> |
trace(String message,
Slot<T> slot)
Returns a slot that logs the supplied message (via
System.err ) with the emitted
value appended to it before passing the emitted value on to slot . |
public static UnitSlot NOOP
public static <T> Slot<T> trace(String message, Slot<T> slot)
System.err
) with the emitted
value appended to it before passing the emitted value on to slot
. Useful for
debugging.Copyright © 2017. All rights reserved.