Crate open_notify[][src]

Modules

blocking

synchronous functions

Structs

DayTime
Spot

Constants

LOADING

Loading error messaage you get at the first call of update().

Functions

find_current
find_upcoming
from_utc_timestamp
init

Spawns a thread which fetches the current ISS spotting from http://api.open-notify.org periodically.

spot

Fetch current ISS spotting update once and stop thread immediately after success. Returns the result in a future.

update

Get current ISS spotting update that the spawned thread could fetched.

Type Definitions

DateTime
Duration
Receiver

Receiver object you get from init() and have top handle to update().