Integrating Effect with NestJS: Handling Effects in Endpoints

I am trying to integrate effect and nestjs, and i wonder, how it should actually work. Should i call oneof Effect.run* variants to run effect in an endpoint, then get exit out of effect and return resource or throw underlying error ?
Was this page helpful?