Skip to main content
Version: v10.0.0

ShouldReconnectType

Decides whether a lost connection is retried. Closes started by the client never reach it.


Import
import { ShouldReconnectType } from "@hyper-fetch/sockets"

Preview​

type ShouldReconnectType = (loss: ConnectionLossType) => boolean;