async def METHOD_NAME(self, item_tracker):
    stale_tracker = self.item_tracker != item_tracker
    self.item_tracker = item_tracker
    if stale_tracker:
        if self.ws:
            await self.send_all_inventory()
    else:
        await self.send_inventory_diffs()