Class Scheduler

The Scheduler is in charge of managing the Providers that are used to gather resources needed to display the layers on a View. There is only one instance of a Scheduler per webview, and it is instanciated with the creation of the first view.

Constructors

Methods

  • Adds a provider for a specified protocol. The provider will be used when executing the queue to provide resources.

    Parameters

    • protocol: any
    • provider: any

    Returns void

  • Returns any

  • Returns any

  • Parameters

    • queue: any

    Returns any

  • Parameters

    • command: {
          executeCommand?: Function;
          id?: string;
          notifyChange?: Function;
          priority?: number;
          url?: string;
          [key: string]: any;
      }
      • [key: string]: any
      • Optional executeCommand?: Function
      • Optional id?: string
      • Optional notifyChange?: Function
      • Optional priority?: number
      • Optional url?: string

    Returns any

  • Get a specific Provider given a particular protocol.

    Parameters

    • protocol: any

    Returns any

  • Parameters

    • type: any

    Returns any

  • Parameters

    • command: any
    • queue: any
    • executingCounterUpToDate: any

    Returns void