Preparing search index...
The search index is not available
Trova Core - v3.43.0
Trova Core
@trova-trip/trova-services
services
ServiceContext
Interface ServiceContext
interface
ServiceContext
{
executeInContext
<
T
=
any
>
(
context
:
AppContext
,
callback
:
()
=>
T
|
Promise
<
T
>
,
)
:
Promise
<
T
>
;
get
()
:
AppContext
;
set
(
context
:
AppContext
)
:
void
;
}
Hierarchy (
View Summary
)
ServiceContext
HTTPContext
Index
Methods
execute
In
Context
get
set
Methods
execute
In
Context
executeInContext
<
T
=
any
>
(
context
:
AppContext
,
callback
:
()
=>
T
|
Promise
<
T
>
,
)
:
Promise
<
T
>
Base function where all code logic is executed
Type Parameters
T
=
any
Parameters
context
:
AppContext
callback
:
()
=>
T
|
Promise
<
T
>
Returns
Promise
<
T
>
get
get
()
:
AppContext
Get the context within the execution
Returns
AppContext
set
set
(
context
:
AppContext
)
:
void
Get the context within the execution
Parameters
context
:
AppContext
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
execute
In
Context
get
set
Trova Core - v3.43.0
Loading...
Base function where all code logic is executed