Skip to content

registerCartTransportFactory

const registerCartTransportFactory: (factory) => void

Defined in: .pnpm/@[email protected]_graphql@[email protected]_typescript@6.0.3/node_modules/@storesynk/core/dist/cart/transport.d.ts:49

Register a transport factory consulted by every subsequent createStorefront call that wasn’t given an explicit transport. Last registration wins; pass null to reset to the default Storefront-API transport.

TransportFactory | null

void