Home > @shopware-pwa/composables > IUseIntercept
# IUseIntercept interface
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
interface for useIntercept composable
Signature:
export interface IUseIntercept
# Properties
Property | Type | Description |
---|---|---|
broadcast | (broadcastKey: string, value?: any) => void | (BETA) Broadcast new event |
disconnect | (broadcastKey: string, method: IInterceptorCallbackFunction) => void | (BETA) Stop listening on event |
intercept | (broadcastKey: string, method: IInterceptorCallbackFunction) => void | (BETA) Intercept broadcasted event |