@minecraft/server-editor
    Preparing search index...

    Interface IEventTokenBeta

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

    interface IEventToken {
        unsubscribe(): void;
    }
    Index

    Methods

    Methods

    • Beta

      Returns void

      Removes registered listener from an event