createBridge
createBridge<
TFrontend>(frontend,backend,config?):Bridge<TFrontend>
Defined in: ai.matey.core/src/bridge.ts:773
Create a new Bridge instance.
Type Parameters
Section titled “Type Parameters”TFrontend
Section titled “TFrontend”TFrontend extends FrontendAdapter<unknown, unknown, unknown>
Parameters
Section titled “Parameters”frontend
Section titled “frontend”TFrontend
Frontend adapter
backend
Section titled “backend”Backend adapter
config?
Section titled “config?”Partial<BridgeConfig>
Bridge configuration
Returns
Section titled “Returns”Bridge<TFrontend>
Bridge instance