TOC Toolkit API - v0.1.0
Preparing search index...
toc-toolkit/engine
EngineHost
Interface EngineHost
A trust boundary that resolves every call to a complete encoded report or a failure.
interface
EngineHost
{
call
(
method
:
EngineMethod
,
request
:
unknown
,
options
:
CallOptions
,
)
:
Promise
<
Result
<
JsonValue
,
EngineFailure
>
>
;
dispose
()
:
void
;
}
Implemented by
InProcessHost
WorkerHost
Index
Methods
call
dispose
Methods
call
call
(
method
:
EngineMethod
,
request
:
unknown
,
options
:
CallOptions
,
)
:
Promise
<
Result
<
JsonValue
,
EngineFailure
>
>
Parameters
method
:
EngineMethod
request
:
unknown
options
:
CallOptions
Returns
Promise
<
Result
<
JsonValue
,
EngineFailure
>
>
dispose
dispose
()
:
void
Returns
void
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
Methods
call
dispose
TOC Toolkit API - v0.1.0
Loading...
A trust boundary that resolves every call to a complete encoded report or a failure.