Skip to content

Type Alias: EndOfRangeHandler ​

EndOfRangeHandler = (kind, location) => void

Called for an End of Range marker on a fetch stream: every Location after the previous Object, if any, up to and including location, does not exist, is unknown, or timed out, as kind says. Without it, an unknown or timed-out range looks the same as one that does not exist.

Parameters ​

kind ​

EndOfRangeKind

location ​

Location

Returns ​

void