successful

fun successful(block: suspend Outcome.Success<A>.() -> A): Effect.RunDSL<A>

Configures the handling of successful outcomes.

Return

This RunDSL instance for chaining.

Parameters

block

A suspendable function that processes a successful outcome.