Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PetitionPageLoader

Loads a page of petition summaries. It is stateless.

Hierarchy

  • PetitionPageLoader

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

Private agent

agent: Agent

Methods

load

  • Load a page of petitions by number. Returns an emitter. Emits either 'loaded' or 'error' events. The 'loaded' event is passed the data of the petition. The 'error' event is passed the Error.

    Parameters

    • page: any

    Returns Loading

    The emitter

Generated using TypeDoc