@grandlinex/kernel
Preparing search index...
ExpressServerTiming
Class ExpressServerTiming
Index
Constructors
constructor
Methods
add
Header
db
Query
get
Header
start
start
Func
init
Constructors
constructor
new
ExpressServerTiming
(
baseApiAction
:
BaseElement
<
any
>
)
:
ExpressServerTiming
Parameters
baseApiAction
:
BaseElement
<
any
>
Returns
ExpressServerTiming
Methods
add
Header
addHeader
(
res
:
XResponse
)
:
void
Parameters
res
:
XResponse
Returns
void
db
Query
dbQuery
<
T
>
(
fc
:
()
=>
Promise
<
T
>
)
:
Promise
<
T
>
Type Parameters
T
Parameters
fc
:
()
=>
Promise
<
T
>
Returns
Promise
<
T
>
get
Header
getHeader
()
:
string
Returns
string
start
start
(
chanel
:
string
)
:
ServerTimingElement
Parameters
chanel
:
string
Returns
ServerTimingElement
start
Func
startFunc
<
T
>
(
chanel
:
string
,
fc
:
()
=>
Promise
<
T
>
)
:
Promise
<
T
>
Type Parameters
T
Parameters
chanel
:
string
fc
:
()
=>
Promise
<
T
>
Returns
Promise
<
T
>
Static
init
init
(
baseApiAction
:
BaseElement
<
any
>
,
res
:
XResponse
,
)
:
[
ExpressServerTiming
,
()
=>
void
]
Parameters
baseApiAction
:
BaseElement
<
any
>
res
:
XResponse
Returns
[
ExpressServerTiming
,
()
=>
void
]
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
add
Header
db
Query
get
Header
start
start
Func
init
@grandlinex/kernel
Loading...