mini-effect
    Preparing search index...

    Type Alias PipeableThunk<T, C, I, D, P>

    PipeableThunk: (next: I) => Effect<T, C, D, P>

    A transform function used inside pipe that receives the previous step's result and returns a new Effect.

    Type Parameters

    • out T = any

      The success value type of the returned effect

    • out C = any

      The error type of the returned effect

    • in I = any

      The input type received from the previous pipeline step

    • out D = never

      Dependencies required by the returned effect

    • out P = never

      Dependencies provided by the returned effect

    Type Declaration

      • (next: I): Effect<T, C, D, P>
      • Parameters

        • next: I

          The success value from the preceding pipeline step

        Returns Effect<T, C, D, P>

        An Effect that processes next and produces a value of type T

    PipeableThunk is one of the Pipeable operation types accepted by pipe and Effect.pipe. It maps the output of one effect to the input of the next in a pipeline.