Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PetitionLoader

Loads the data of a petition. It is stateless.

Hierarchy

  • PetitionLoader

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

Private agent

agent: Agent

Methods

load

  • load(petitionId: number): Loading
  • Load the petition by Id. 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

    • petitionId: number

    Returns Loading

    The emitter

Generated using TypeDoc