property
FetchSession.fetch
readonly fetch: (input: string | URL | Request, init?: BunFetchRequestInit) => Promise<Response>
fetch() with this session. The function is bound: hand it to anything that takes a fetch. A session in init does not replace this one.
It has no preconnect, so where an option is typed typeof fetch (which in Bun includes fetch.preconnect), pass session.fetch as typeof fetch.
const client = new SomeClient({ fetch: session.fetch });