Understanding `_(...)` in JSON Schema Decoding with Error Handling

Hello, can someone explain to me what does this code do:

    return yield* _(
      json,
      Schema.decodeUnknownEither(AuthorsResponse),
      Either.mapLeft(
        (parseError) =>
          new FormattingError({
            endpoint: endpointUrl,
            message: parseError.message,
          }),
      ),
    );

I understand that it decodes json with schema AuthorsResponse and that if the schema does not match it returns FormattingError with parseError.message, but I am unclear what does _(...) do?

This code is inside a generator function

Effect.gen(function* (_) {})
Was this page helpful?