forGraphQL method

Returns a wrapper that has safety and convenience features for graphql

Implementation

GraphQLWebSocketChannel forGraphQL() => this is GraphQLWebSocketChannel
    ? this as GraphQLWebSocketChannel
    : GraphQLWebSocketChannel(this);