live
Instruction for establishing a live connection that is updated once the underlying data changes.
directive @live(
if: Boolean = true
throttle: Int
) on QUERY
Arguments
live.if
● Boolean
scalar references
Whether the query should be live or not.
live.throttle
● Int
scalar references
Propose a desired throttle interval ot the server in order to receive updates to at most once per "throttle" milliseconds. The server must not accept this value.