ElementRecordSourcetype
A source of satellites' orbital elements: a list that fits in memory (at most 200,000 sets), read once when the source is added, each an ElementSet.
Import it
import type { ElementRecordSource } from "@johnmorrisdotca/chikyu-earth/door";
Definition
type ElementRecordSource = RecordSource<ElementSet>;
Members
| Name | Type | Description |
|---|---|---|
kind | "records" | |
info | SourceInfo | |
records | (signal: AbortSignal): ElementSet[] | Promise<ElementSet[]> |
Examples
import type { ElementRecordSource } from "@johnmorrisdotca/chikyu-earth/door";
const names = (sources: readonly ElementRecordSource[]): string[] => sources.map((source) => source.info.id);
console.log(names([]));[]What it prints (run when this page was built)