Function useCogsConnection
- useCogsConnection<Manifest>(customConnection?): CogsConnection<Manifest>
Type Parameters
Manifest extends CogsPluginManifest
Parameters
Optional
customConnection: default<Manifest, Record<never, never>>
Returns CogsConnection<Manifest>
Get the connection from
<CogsConnectionProvider>