Options
All
  • Public
  • Public/Protected
  • All
Menu

Class OperationQueueEntry

Class representing operation queue entry.

It exposes method for forwarding the operation.

Hierarchy

  • OperationQueueEntry

Implements

Index

Constructors

constructor

  • new OperationQueueEntry(operation: Operation, offlineId?: undefined | number, forward?: NextLink): OperationQueueEntry

Properties

Optional forward

forward: NextLink

id

id: string

networkError

networkError: any

Optional observer

observer: ZenObservable.SubscriptionObserver<FetchResult>

operation

operation: Operation

Optional optimisticResponse

optimisticResponse: any

Optional result

result: FetchResult

Methods

hasClientId

  • hasClientId(): false | true | ""
  • Checks if offline operation contains client id or server side id. For new items made when offline changes will always have client side id.

    Returns false | true | ""

toOfflineItem

Generated using TypeDoc