Kizuki
HTTP API
GitHub
Preparing search index...
bin/cli
waitForServer
Function waitForServer
waitForServer
(
url
:
string
,
options
?:
{
everyMs
?:
number
;
fetchImpl
?:
{
(
input
:
URL
|
RequestInfo
,
init
?:
RequestInit
)
:
Promise
<
Response
>
;
(
input
:
string
|
Request
|
URL
,
init
?:
RequestInit
)
:
Promise
<
Response
>
;
}
;
tries
?:
number
;
}
,
)
:
Promise
<
boolean
>
Waits until the dashboard answers. True if it did, false if it gave up.
Parameters
url
:
string
Optional
options
:
{
everyMs
?:
number
;
fetchImpl
?:
{
(
input
:
URL
|
RequestInfo
,
init
?:
RequestInit
)
:
Promise
<
Response
>
;
(
input
:
string
|
Request
|
URL
,
init
?:
RequestInit
)
:
Promise
<
Response
>
;
}
;
tries
?:
number
;
}
Optional
everyMs
?:
number
Optional
fetchImpl
?:
{
(
input
:
URL
|
RequestInfo
,
init
?:
RequestInit
)
:
Promise
<
Response
>
;
(
input
:
string
|
Request
|
URL
,
init
?:
RequestInit
)
:
Promise
<
Response
>
;
}
Optional
tries
?:
number
Returns
Promise
<
boolean
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
HTTP API
GitHub
Kizuki
Loading...
Waits until the dashboard answers. True if it did, false if it gave up.