Skip to content

Documentation / jpl-vite / messaging / defineExtensionMessaging

Function: defineExtensionMessaging()

defineExtensionMessaging<TProtocolMap>(viewHandle): ExtensionMessenger<TProtocolMap>

Type Parameters

TProtocolMap extends Record<string, any>

Parameters

viewHandle: string

Returns

ExtensionMessenger<TProtocolMap>

Defined in

jpl-vite/src/messaging.ts:54

Released under the MIT License.