Options
All
  • Public
  • Public/Protected
  • All
Menu

Module facebook-batch

Index

Type aliases

BatchConfig

BatchConfig: { delay?: number; includeHeaders?: boolean; retryTimes?: number; shouldRetry?: any }

Type declaration

BatchErrorResponse

BatchErrorResponse: BatchResponse<{ error: { code: number; message: string; type: string } }>

BatchRequest

BatchRequest: { body?: JsonObject; method: string; name?: string; relativeUrl: string; responseAccessPath?: string } & BatchRequestOptions

BatchRequestErrorInfo

BatchRequestErrorInfo: { request: BatchRequest; response: BatchErrorResponse }

Type declaration

BatchRequestOptions

BatchRequestOptions: { dependsOn?: string; name?: string }

Type declaration

  • Optional dependsOn?: string
  • Optional name?: string

BatchResponse

BatchResponse<T>: { body: T; code: number; headers?: { name: string; value: string }[] }

Type parameters

  • T: JsonObject = JsonObject

Type declaration

  • body: T
  • code: number
  • Optional headers?: { name: string; value: string }[]

QueueItem

QueueItem: { request: BatchRequest; retry?: number; reject: any; resolve: any }

Type declaration

Functions

getErrorMessage

isError613

Generated using TypeDoc