Pebble App Framework
v7.1.1
How It Works
CLI
Device API
Phone API
C Coverage
TS Coverage
GitHub
Theme
Pebble App Framework: Phone API
Preparing search index...
stock/schedule
default
Variable default
default
:
{
currentTradingDay
:
(
now
:
number
)
=>
string
;
marketPhase
:
(
now
:
number
)
=>
MarketPhase
;
rateLimitWait
:
(
provider
:
string
,
results
:
{
limit
?:
string
;
status
?:
string
}
[]
,
backoffMs
:
number
,
now
:
number
,
paid
?:
boolean
,
)
=>
RateLimitWait
;
roundWait
:
(
provider
:
string
,
calls
:
RoundCall
[]
,
answered
:
boolean
,
timeLeftAlone
:
boolean
,
backoffMs
:
number
,
now
:
number
,
paid
?:
boolean
,
)
=>
RateLimitWait
|
null
;
shouldThrottleStockFetch
:
(
provider
:
string
,
force
:
boolean
,
lastFetchMs
:
number
,
lastAsOf
:
string
,
now
:
number
,
retryAtMs
?:
number
,
paid
?:
boolean
,
)
=>
boolean
;
}
Type Declaration
currentTradingDay
:
(
now
:
number
)
=>
string
marketPhase
:
(
now
:
number
)
=>
MarketPhase
rateLimitWait
:
(
provider
:
string
,
results
:
{
limit
?:
string
;
status
?:
string
}
[]
,
backoffMs
:
number
,
now
:
number
,
paid
?:
boolean
,
)
=>
RateLimitWait
roundWait
:
(
provider
:
string
,
calls
:
RoundCall
[]
,
answered
:
boolean
,
timeLeftAlone
:
boolean
,
backoffMs
:
number
,
now
:
number
,
paid
?:
boolean
,
)
=>
RateLimitWait
|
null
shouldThrottleStockFetch
:
(
provider
:
string
,
force
:
boolean
,
lastFetchMs
:
number
,
lastAsOf
:
string
,
now
:
number
,
retryAtMs
?:
number
,
paid
?:
boolean
,
)
=>
boolean
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Pebble App Framework: Phone API
Loading...