feat: add node-fetch multithreaded example
[poolifier.git] / examples / typescript / http-client / node-fetch / src / types.ts
1 import { type URL } from 'node:url'
2 import { type RequestInfo, type RequestInit } from 'node-fetch'
3
4 export interface WorkerData {
5 url: URL | RequestInfo
6 init?: RequestInit
7 }
8
9 export interface WorkerResponse {
10 text: string
11 }