Skip to content

Commit 0005e7e

Browse files
committed
Rename FetchHandler to Fetch per review feedback
1 parent a75db8d commit 0005e7e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

fetch/api.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@ import { type Operation, until, useAbortSignal } from "effection";
44
import { createFetchResponse } from "./create-fetch-response.ts";
55
import { type FetchInit, type FetchResponse, HttpError } from "./fetch.ts";
66

7-
export interface FetchHandler {
7+
export interface Fetch {
88
fetch(
99
input: RequestInfo | URL,
1010
init: FetchInit | undefined,
1111
shouldExpect: boolean,
1212
): Operation<FetchResponse>;
1313
}
1414

15-
export const FetchApi: Api<FetchHandler> = createApi("fetch", {
15+
export const FetchApi: Api<Fetch> = createApi("fetch", {
1616
*fetch(
1717
input: RequestInfo | URL,
1818
init: FetchInit | undefined,

0 commit comments

Comments
 (0)