Dispose API

The Dispose API can dispose or unregister any subscriptions that are added for an event.

By disposing the subscription, the API will not trigger any further notifications to the client side receiver.

Syntax

dispose:() => void;