SubscribeDestination.on property

Signature:

on?: (e: "close", a: () => void) => void;