Package arrow. meta. continuations
Types
Link copied to clipboard
Link copied to clipboard
ContSyntax exposes abort which allows for interruption of the computation, meaning that when abort is encountered the Cont will be interrupted and will not yield a value.
Functions
Link copied to clipboard
inline fun doOnlyWhen(condition: Boolean, crossinline f: () -> ContSeq<Unit>): ContSeq<Unit>
Content copied to clipboard
inline fun <A> doOnlyWhen( condition: Boolean, value: A, crossinline f: () -> ContSeq<A>): ContSeq<A>
Content copied to clipboard
Execute a side effect only when some condition holds.