Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface RecoverableUpdateStream

Hierarchy

Index

Methods

get

  • get(): any
  • Returns any

    the cached value of the topic

isRecoverable

  • isRecoverable(): boolean
  • Returns boolean

    true if recovery is possible.

recover

  • Returns Result<void>

set

  • Parameters

    • value: any

    Returns Result<TopicCreationResult | void>

    a Result that completes when a response is received from the server.

    The first set operation will return a TopicCreationResult indicating whether a new topic was created or it already exists.

    If the task fails, the Result will resolve with an Error .

validate