INNER CODE UNIT · Python
receive_complete
psevensas/DjangoChannelsGraphqlWs · channels_graphql_ws/client.py:119
async def receive_complete(self, op_id):
"""Receive GraphQL complete message.
Args:
op_id: Subscribe message ID, in response
to which the complete message should be sent.
"""
return await self.receive(assert_id=op_id, assert_type="complete")
async def receive(
self, *, wait_id=None, assert_id=None, assert_type=None, raw_response=False
):
"""Receive GraphQL message checking its content.
Args:
wait_id: Wait until response with the given id received, all
intermediate responses will be skipped.