Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SetStream

An update stream delegate that is used when a set operation has completed successfully. A cached value is available.

Hierarchy

  • SetStream

Implements

  • any

Index

Constructors

constructor

Properties

Private cache

cache: any

The cached value

Private options

The update stream options

Private stream

The stream that wrapped around this stream and using is as a delegate

Private streamId

streamId: UpdateStreamId

The stream ID

Private streamServices

streamServices: StreamServices

The stream services

Methods

get

  • get(): any
  • inheritdoc

    Returns any

onSetComplete

  • onSetComplete(): void
  • inheritdoc

    Returns void

onSetFailed

  • onSetFailed(err: Error): void
  • inheritdoc

    Parameters

    • err: Error

    Returns void

onValidateComplete

  • onValidateComplete(): void
  • inheritdoc

    Returns void

onValidateFailed

  • onValidateFailed(err: Error): void
  • inheritdoc

    Parameters

    • err: Error

    Returns void

set

  • set(value: any): Result<void>
  • inheritdoc

    Parameters

    • value: any

    Returns Result<void>

validate

  • inheritdoc

    Returns Promise<TopicCreationResult>