Preparing search index...
The search index is not available
@duckduckgo/content-scope-scripts
@duckduckgo/content-scope-scripts
Messaging
TestTransport
Class TestTransport
Implements
Index
Constructors
constructor
Properties
config
messaging
Context
Methods
notify
request
subscribe
Constructors
constructor
new
TestTransport
(
config
:
TestTransportConfig
,
messagingContext
:
MessagingContext
,
)
:
TestTransport
Parameters
config
:
TestTransportConfig
messagingContext
:
MessagingContext
Returns
TestTransport
Properties
config
config
:
TestTransportConfig
messaging
Context
messagingContext
:
MessagingContext
Methods
notify
notify
(
msg
:
any
)
:
void
Parameters
msg
:
any
Returns
void
request
request
(
msg
:
any
)
:
Promise
<
any
>
Parameters
msg
:
any
Returns
Promise
<
any
>
subscribe
subscribe
(
msg
:
any
,
callback
:
any
)
:
()
=>
void
Parameters
msg
:
any
callback
:
any
Returns
()
=>
void
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
config
messaging
Context
Methods
notify
request
subscribe
@duckduckgo/content-scope-scripts
Loading...