For AI agents: a documentation index is available at /llms.txt. Markdown versions of all pages are available by appending .md to any URL.

Type Alias SourceEventType

SourceEventType - a mapping between the source data event names and their event value. These are the events fired by a Source as its data loads or changes; they also bubble up to the Map. See MapSourceDataEvent for the event shape.

type SourceEventType = {
    data: MapSourceDataEvent;
    dataabort: MapSourceDataEvent;
    dataloading: MapSourceDataEvent;
    error: ErrorEvent;
}
Index

Properties

Fired when the source's data loads or changes.

Fired when a request for the source's data is aborted.

dataloading: MapSourceDataEvent

Fired when the source begins loading or changing data.

error: ErrorEvent

Fired when there's an error

Was this helpful?