EventRepository is an interface for storing and retrieving events. You can implement this interface to create your own event repository based on your favorite database.

Hierarchy (view full)

Constructors

Methods

  • This method doesn't need to be implemented. It's just a helper method for transforming the find method to an observable.

    Parameters

    Returns Observable<Event>

  • This method doesn't need to be implemented. It's just a helper method for finding one event. And it will call find method internally.

    Parameters

    Returns Promise<null | Event>