Skip to content

run

run<R>(env): <A>(data) => A

Defined in: Core/Reader.ts:173

Runs a Reader by supplying the environment. Use this at the edge of your program where the environment is available.

R

R

<A>(data): A

A

Reader<R, A>

A

pipe(
  buildEndpoint("/users"),
  Reader.run(appConfig)
); // "https://api.example.com/users?key=secret"