Method decorator that invokes a sync notification after the
decorated method resolves. The host implements notifySync
structurally — facades enrich the payload with their id before
delegating, HeatzyAPI emits straight through the lifecycle
emitter.
Intended for one-shot post-method notifications; this is not
a subscription. Exceptions thrown by the consumer's callback
propagate — the decorator does not swallow them, so a buggy sync
handler surfaces on the caller rather than dying silently.
Method decorator that invokes a sync notification after the decorated method resolves. The host implements
notifySyncstructurally — facades enrich the payload with theiridbefore delegating, HeatzyAPI emits straight through the lifecycle emitter.Intended for one-shot post-method notifications; this is not a subscription. Exceptions thrown by the consumer's callback propagate — the decorator does not swallow them, so a buggy sync handler surfaces on the caller rather than dying silently.