Vinyl
    Preparing search index...

    Dispatches MTS business events.

    Hierarchy (View Summary)

    Implements

    Index

    Constructors

    Properties

    logPrefix: string

    A string prefix for all log statements made by this target.

    Accessors

    • get "[toStringTag]"(): string

      Returns string

    Methods

    • Dispatches an event.

      Type Parameters

      Parameters

      • type: K

        The key of the event within EventMap

      • event: MtsEventMap[K]

        If the passed event is read-only, then it may be re-used/cached. Otherwise, it should be a new event object every dispatch. If no target property is set on the event, the target will be set to this host.

      Returns void

    • Returns void

    • Stores pending events to persistence. If the app is closed before the player unloads a track, these events will be recovered and emitted (asynchronously) when this function is called. Events will be saved to persistence

      Parameters

      Returns void