Interface IFeed<Response, Item>

Type Parameters

  • Response

  • Item

Hierarchy

Implemented by

Properties

Methods

Properties

input: any

Methods

  • Description

    This function automatically calls after each successful request. Usually mutates the feed state.

    Parameters

    • response: Response

    Returns boolean

    boolean whether next page exists or not

  • Parameters

    • raw: Response

    Returns Item[]

  • Parameters

    • Rest ...args: any[]

    Returns Promise<Response>