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...
stock/feature
StockDeps
Interface StockDeps
The helpers runStockRound needs, passed in so the specs can swap them.
interface
StockDeps
{
fetchQuote
:
(
symbol
:
string
,
onQuote
:
(
result
:
StockQuote
)
=>
void
,
)
=>
void
;
now
:
()
=>
number
;
sendStocks
:
(
results
:
StockQuote
[]
)
=>
void
;
timeoutMs
:
number
;
}
Index
Properties
fetch
Quote
now
send
Stocks
timeout
Ms
Properties
fetch
Quote
fetchQuote
:
(
symbol
:
string
,
onQuote
:
(
result
:
StockQuote
)
=>
void
)
=>
void
now
now
:
()
=>
number
send
Stocks
sendStocks
:
(
results
:
StockQuote
[]
)
=>
void
timeout
Ms
timeoutMs
:
number
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
fetch
Quote
now
send
Stocks
timeout
Ms
Pebble App Framework: Phone API
Loading...
The helpers runStockRound needs, passed in so the specs can swap them.