Description

A class representing query to retrieve the list of polls.

Hierarchy

  • default
    • PollListQuery

Properties

Accessors

Methods

Properties

channelType: ChannelType

Description

A channel type.

channelUrl: string

Description

A channel URL.

limit: number = DEFAULT_LIST_QUERY_LIMIT

Description

The maximum number of data per queried page.

Accessors

  • get hasNext(): boolean
  • Returns boolean

    Description

    Whether there is a next page.

  • get isLoading(): boolean
  • Returns boolean

    Description

    Whether the current query is in communication progress with server.

Methods

  • Returns Promise<Poll[]>

    Description

    List all polls that belong to a channel specified by channelUrl. The response will be paginated and if there are more values available, hasNext will be true.

Generated using TypeDoc