public class CoAcceptorsKt
| Modifier and Type | Method and Description |
|---|---|
static <A> SimpleCoAcceptor<A> |
simpleCoAcceptor(kotlin.jvm.functions.Function2<? super A,? super kotlin.coroutines.Continuation<? super kotlin.Unit>,? extends java.lang.Object> block)
Create a
class SimpleCoAcceptor. |
@NotNull public static <A> SimpleCoAcceptor<A> simpleCoAcceptor(@NotNull kotlin.jvm.functions.Function2<? super A,? super kotlin.coroutines.Continuation<? super kotlin.Unit>,? extends java.lang.Object> block)
Create a class SimpleCoAcceptor.
A - the accepted (input) type
block - lambda to execute with each valueclass SimpleCoAcceptor