Hyperlinkv0.8.0-beta.28

effect

Sink76

Constructors

collectconstAccumulates incoming elements into an array.countconstA sink that counts the number of elements fed to it.dieconstCreates a sink halting with a specified defect.drainconstConsumes and ignores all stream inputs.everyconstA sink that returns whether all elements satisfy the specified predicate.failconstA sink that always fails with the specified error.failCauseconstCreates a sink halting with a specified Cause.failCauseSyncconstCreates a sink halting with a specified lazily evaluated Cause.failSyncconstA sink that always fails with the specified lazily evaluated error.findconstCreates a sink containing the first value matched by a synchronous predicate.findEffectconstCreates a sink containing the first value matched by an effectful predicate.forEachconstA sink that executes the provided effectful function for every item fed to it.forEachArrayconstA sink that executes the provided effectful function for every Chunk fed to it.forEachWhileconstRuns an effectful function for each input element while it returns true.forEachWhileArrayconstRuns an effectful function for each non-empty input array while it returns true.fromChannelconstCreates a sink from a Channel.fromEffectconstCreates a sink that ignores upstream input and completes with the success value of the provided effect.fromEffectEndconstCreates a sink that ignores upstream input and completes from an effect that already returns an End.fromPubSubconstCreates a sink that publishes every consumed input element to a PubSub.fromQueueconstCreates a sink that offers every consumed input element to a queue.fromTransformconstCreates a Sink from a low-level transform function.headconstCreates a sink containing the first value.lastconstCreates a sink containing the last value.makenamespaceCreates a pipe-style constructor for sinks over input type In.neverconstA sink that never completes.someconstA sink that returns whether an element satisfies the specified predicate.succeedconstA sink that immediately ends with the specified value.sumconstCreates a sink which sums up its inputs.suspendconstA sink that is created from a lazily evaluated sink.syncconstA sink that immediately ends with the specified lazily evaluated value.takeUntilconstCollects input elements until the predicate returns true, including the matching element in the result.takeUntilEffectconstCollects input elements effectfully until the predicate returns true, including the matching element in the result.takeWhileconstCollects the longest input prefix whose elements satisfy the predicate or refinement.takeWhileEffectconstCollects input elements effectfully while the predicate succeeds.takeWhileFilterconstApplies a Filter to input elements while it succeeds, collecting each successful output.takeWhileFilterEffectconstApplies a FilterEffect to input elements effectfully while it succeeds, collecting each successful output.timedconstA sink that drains all input and returns the elapsed duration.toChannelconstCreates a Channel from a Sink.unwrapconstCreates a sink produced from a scoped effect.

Services

Models

Guards

Mapping

Filtering

Sequencing

Collecting

Error Handling

Finalization

Folding

Reducing