TimeTarget
import type { TimeTarget } from "https://googleapis.deno.dev/v1/pubsublite:v1.ts";
A target publish or event time. Can be used for seeking to or retrieving the corresponding cursor.
interface TimeTarget {
eventTime?: Date;
publishTime?: Date;
}§Properties
§
eventTime?: Date
[src]Request the cursor of the first message with event time greater than or
equal to event_time
. If messages are missing an event time, the publish
time is used as a fallback. As event times are user supplied, subsequent
messages may have event times less than event_time
and should be filtered
by the client, if necessary.