ThemeParks.wiki Parks API - v2.0.0
    Preparing search index...

    Function broadcast

    • Broadcast an event to matching injected functions.

      Parameters

      • scope: any

        'global' to broadcast to all registered instances and global functions, or an array/single instance to broadcast to specific instances' methods.

      • event: any

        The event object to match against filters.

      • ...args: any[]

        Additional arguments to pass to the injected functions.

      Returns Promise<void>