registerCartTransportFactory
constregisterCartTransportFactory: (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.
Parameters
Section titled “Parameters”factory
Section titled “factory”TransportFactory | null
Returns
Section titled “Returns”void