{"version":"2.1.247","anchor":"hook-registration-is-re-checked-before-every-send","canonical_anchor":"hook-registration-is-re-checked-before-every-send","heading":"Hook registration is re-checked before every send","tier":"internal","area":"Hooks","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.247\/e\/hook-registration-is-re-checked-before-every-send","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.247","markdown":"### Hook registration is re-checked before every send\n\nHook registration is re-verified right before each send, so nothing goes out stale.\n\n**What**\n\nThe hooks module now tracks turn activity through worker-start, turn-in-flight and turn-ended callbacks, and re-verifies registration immediately before each send, so a request cannot go out against stale registration.\n\n**Details**\n\n- A registration attempt that throws is captured rather than propagating out.\n- Consent subscription now reports the decision instead of unconditionally re-requesting registration.\n\n**Evidence**\n\n`beforeSend: () => n.ensureRegistered()`\n\n- Area: Hooks\n- Tier: Under the hood\n- Useful: 2\/5\n- Signal: 3\/5"}