switchyard
Home
Guide
GitHub
Preparing search index...
@switchyard-ts/inspector
connectInspector
Function connectInspector
connectInspector
(
machine
:
Machine
<
unknown
>
,
inspector
:
InspectorLike
,
options
?:
{
id
?:
string
;
parent
?:
ActorRefLike
;
sessionId
?:
string
}
,
)
:
()
=>
void
Registers
machine
with the inspector and streams it. Returns a function that disconnects.
Parameters
machine
:
Machine
<
unknown
>
inspector
:
InspectorLike
options
:
{
id
?:
string
;
parent
?:
ActorRefLike
;
sessionId
?:
string
}
= {}
Returns
()
=>
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Home
Guide
GitHub
switchyard
Loading...
Registers
machinewith the inspector and streams it. Returns a function that disconnects.