StreamInterpreter

gql.server.interpreter.StreamInterpreter
See theStreamInterpreter companion object
trait StreamInterpreter[F[_]]

The StreamInterpreter is resposible for:

  • Wireing together results for a query.

  • Handling incoming asynchronous events.

  • Handling resource lifetimes.

For actual query excution, take a look at QueryInterpreter.

Attributes

Companion
object
Source
StreamInterpreter.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

def interpretStream[A](root: A, selection: Selection[F, A], takeOne: Boolean, throttle: FunctionK[F, F]): Stream[F, Result]

Attributes

Source
StreamInterpreter.scala
def interpretSync[A](root: A, selection: Selection[F, A], throttle: FunctionK[F, F]): F[Result]

Attributes

Source
StreamInterpreter.scala