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

    Function inject

    • Decorator to inject a function based on a sift filter. Can be applied to functions or class methods. The decorated function/method will be called when an event matches the filter.

      Parameters

      • filter: any

        Sift query filter with optional 'priority' field for execution ordering

      Returns (target: any, propertyKey?: string, descriptor?: PropertyDescriptor) => void