code: async def post_list(cls, sender, db, instances):
          '''
          Hook to capture the results of a list query.
          Useful when wanting to know when certain documents have come up in a query.
          Implement in resource subclasses to provide domain-specific behavior
          '''
          serialized_objects = await asyncio.gather(*[obj.serialize() for obj in instances])
          await cls.emit(db, 'resource_get_list', serialized_objectsync def post_list(cls, sender, db, instances):
          '''
          Hook to capture the results of a list query.
          Useful when wanting to know when certain documents have come up in a query.
          Implement in resource subclasses to provide domain-specific behavior
          '''
          serialized_objects = await asyncio.gather(*[obj.serialize() for obj in instances])
          await cls.emit(db, 'resource_get_list', serialized_objects)
docs: Hook to capture the results of a list query.
          Useful when wanting to know when certain documents have come up in a query.
          Implement in resource subclasses to provide domain-specific behavior