Interface LoadData<T>

Type Parameters:
T - the type of data to be loaded
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface LoadData<T>
Functional interface representing a loader function that loads data for a given place.
  • Method Summary

    Modifier and Type
    Method
    Description
    elemental2.promise.Promise<T>
    load(Place place, Parameter parameter)
    Loads data for a given place using a specified parameter.
  • Method Details

    • load

      elemental2.promise.Promise<T> load(Place place, Parameter parameter)
      Loads data for a given place using a specified parameter.
      Parameters:
      place - the place for which data needs to be loaded
      parameter - the parameter used for loading data
      Returns:
      a Promise representing the asynchronous loading operation