Skip to content

Commit

Permalink
doc
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaAmaju committed Aug 26, 2024
1 parent 85ebf6f commit d8c34d8
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,6 @@ import adapter from "fetch-prime/Adapters/Platform";
const result = await fetch("/users")(adapter);
const res = pipe(result, E.chainW(Result.filterStatusOk));
const users = await chain(res, (res) => res.json());

// or
const request = map(fetch("/users"), E.chainW(filterStatusOk));
const users = map(
request,
chain((res) => res.json())
);
const response = await users(adapter);
```

### With interceptor
Expand Down

0 comments on commit d8c34d8

Please sign in to comment.