Skip to main content

EventSubscriptionEdge

One payload of the events subscription: a matching event, or progress.

type EventSubscriptionEdge {
cursor: String!
node: Event
}

Fields​

EventSubscriptionEdge.cursor ● String! non-null scalar​

Pass as after to resume the subscription after this payload.

EventSubscriptionEdge.node ● Event object​

The matching event, or null for progress.

A payload whose node is null and that has no errors is progress: every match before its cursor has been delivered, so save the cursor and resume after it to skip the range already scanned.

A payload whose node is null and that has errors is a match that failed to resolve. Do not save its cursor: treat the payload as an error and resume from the previous cursor.

Returned By​

events subscription