Set the AbortSignal for the fetch request.
The AbortSignal to use for the fetch request
const ac = new AbortController()
const { data, error } = await supabase
.from('very_big_table')
.select()
.abortSignal(ac.signal)
// Abort the request after 100 ms
setTimeout(() => ac.abort(), 100)
const { data, error } = await supabase
.from('very_big_table')
.select()
.abortSignal(AbortSignal.timeout(1000 /* ms */))