Pebble App Framework
main
How It Works
CLI
Device API
Phone API
C Coverage
TS Coverage
GitHub
Theme
Pebble App Framework: Phone API
Preparing search index...
weather/feature
WeatherDeps
Interface WeatherDeps
The helpers runWeatherRound needs, passed in so the specs can swap them.
interface
WeatherDeps
{
fetchWeather
:
(
onResult
:
(
result
:
any
)
=>
void
)
=>
void
;
sendWeather
:
(
result
:
any
)
=>
void
;
timeoutMs
:
number
;
}
Index
Properties
fetch
Weather
send
Weather
timeout
Ms
Properties
fetch
Weather
fetchWeather
:
(
onResult
:
(
result
:
any
)
=>
void
)
=>
void
send
Weather
sendWeather
:
(
result
:
any
)
=>
void
timeout
Ms
timeoutMs
:
number
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
fetch
Weather
send
Weather
timeout
Ms
Pebble App Framework: Phone API
Loading...
The helpers runWeatherRound needs, passed in so the specs can swap them.