apply

open fun apply(sideEffect: SideEffect): ExecutionContext

Returns a new ExecutionContext, obtained by applying sideEffect to this one, via SideEffect.applyTo.


open fun apply(sideEffects: Iterable<SideEffect>): ExecutionContext

Returns a new ExecutionContext, obtained by applying every sideEffects item, in order, to this one (each one to the result of the previous application).


open fun apply(sideEffects: Sequence<SideEffect>): ExecutionContext

Same as apply for an Iterable, but accepting a Sequence of sideEffects.