Keep Alive Coroutine
class KeepAliveCoroutine(val graphQLConfig: GraphQLConfig, val channel: Channel<OperationMessage<*>>, val message: OperationMessage<*>) : GraphQLCoroutine
Coroutine that sends a keepalive ping over the websocket every GraphQLConfig.keepAliveIntervalSeconds seconds until it gets canceled by its parent
Constructors
Link copied to clipboard
constructor(graphQLConfig: GraphQLConfig, channel: Channel<OperationMessage<*>>, message: OperationMessage<*>)