directive @eventstream

The @eventstream directive defines and configures parameters for managing a subscription event stream. It can only be applied to fields within the Subscription root operation type.

Arguments

interval: String

The interval argument sets the time interval between consecutive calls to the underlying query. The default value is 10 seconds (10s). The minimum value is 900 milliseconds (900ms). You must specify the interval using one of the following time units, denoted by these suffixes: ns (nanoseconds), us (microseconds), ms (milliseconds), s (seconds), m (minutes), and h (hours).

Locations

Type System: FIELD_DEFINITION