Options
All
  • Public
  • Public/Protected
  • All
Menu

Class FetchRequestImpl

Implementation of the FetchRequest builder interface

Hierarchy

Index

Constructors

constructor

  • Create a new FetchRequestImpl instance

    Parameters

    Returns FetchRequestImpl

Properties

Private Readonly internal

internal: InternalSession

The internal session

Private Readonly options

Internal options specifying what to fetch

Methods

after

  • inheritdoc

    Parameters

    • topicPath: string

    Returns FetchRequest

before

  • inheritdoc

    Parameters

    • topicPath: string

    Returns FetchRequest

Private copyOptions

  • Deep copy the options into a new FetchRequestOptions instance

    Returns FetchRequestOptions

    the new options instance

fetch

  • inheritdoc

    Parameters

    Returns Promise<FetchResult<any>>

first

  • inheritdoc

    Parameters

    • count: number

    Returns FetchRequest

from

  • inheritdoc

    Parameters

    • topicPath: string

    Returns FetchRequest

last

  • inheritdoc

    Parameters

    • count: number

    Returns FetchRequest

limitDeepBranches

  • limitDeepBranches(deepBranchDepth: number, deepBranchLimit: number): FetchRequest
  • Parameters

    • deepBranchDepth: number
    • deepBranchLimit: number

    Returns FetchRequest

maximumResultSize

to

  • inheritdoc

    Parameters

    • topicPath: string

    Returns FetchRequest

topicTypes

withProperties

withSizes

withUnpublishedDelayedTopics

withValues

Static getAllTypes

  • Return a set of all topic types that can be fetched.

    Returns Set<TopicType>

    the topic types that can be fetched by a FetchRequest

Copyright © 2025 DiffusionData Ltd. All Rights Reserved.