接口 IEventToken实验性

Returned from an event subscription. Provides functionality for cleaning up listeners

interface IEventToken {
    unsubscribe(): void;
}

方法