Type
SourceEvents
The events emitted by a Source, with each key being an event name and its value being the event data.
ts
type SourceEvents = {
read: {
start: number;
end: number;
};
};Properties
read
ts
read: {
/** The start of the retrieved range, inclusive. */
start: number;
/** The end of the retrieved range, exclusive. */
end: number;
};Emitted each time data is retrieved from the source.