Cell API
Docs
GitHub
Preparing search index...
@celljs/cli
CloudIo
Interface CloudIo
What the clouds' API clients need from the outside world; tests replace it.
interface
CloudIo
{
fetch
(
url
:
string
,
init
:
RequestInit
)
:
Promise
<
Response
>
;
now
()
:
Date
;
sleep
(
ms
:
number
)
:
Promise
<
void
>
;
}
Index
Methods
fetch
now
sleep
Methods
fetch
fetch
(
url
:
string
,
init
:
RequestInit
)
:
Promise
<
Response
>
Parameters
url
:
string
init
:
RequestInit
Returns
Promise
<
Response
>
now
now
()
:
Date
Returns
Date
sleep
sleep
(
ms
:
number
)
:
Promise
<
void
>
Parameters
ms
:
number
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
fetch
now
sleep
Docs
GitHub
Cell API
Loading...
What the clouds' API clients need from the outside world; tests replace it.