Class IncrementalCallState


  • public class IncrementalCallState
    extends java.lang.Object
    This provides support for @defer directives on fields that mean that results will be sent AFTER the main result is sent via a Publisher stream.
    • Constructor Detail

      • IncrementalCallState

        public IncrementalCallState()
    • Method Detail

      • getIncrementalCallsDetected

        public boolean getIncrementalCallsDetected()
      • startDeferredCalls

        public org.reactivestreams.Publisher<DelayedIncrementalPartialResult> startDeferredCalls()
        This method will return a Publisher of deferred results. No field processing will be done until a Subscriber is attached to this publisher. Once a Subscriber is attached the deferred field result processing will be started and published as a series of events.
        Returns:
        the publisher of deferred results