{"version":"2.1.248","anchor":"undelivered-events-can-be-handed-to-a-replacement-connection","canonical_anchor":"undelivered-events-can-be-handed-to-a-replacement-connection","heading":"Undelivered events can be handed to a replacement connection","tier":"internal","area":"Session Transport","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.248\/e\/undelivered-events-can-be-handed-to-a-replacement-connection","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.248","markdown":"### Undelivered events can be handed to a replacement connection\n\nA reconnecting client can pick up events the previous connection never received.\n\n**What**\n\nThe session client gains ways to take, discard or adopt events that never reached the client, so a new connection can pick up where a closed one left off. Events marked ephemeral are always filtered out.\n\n**Details**\n\n- New calls: take, discard and adopt undelivered client events.\n- The remote bridge now explicitly discards undelivered events when its v2 connection closes rather than dropping them silently.\n\n**Evidence**\n\n`discardUndeliveredEvents`\n\n- Area: Session Transport\n- Tier: Under the hood\n- Useful: 2\/5\n- Signal: 3\/5"}