Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "resynkd.types"

Index

Type aliases

RsMessageType

RsMessageType: { rsynkd: { messageId: string; method: RsMethod; payload: any; socketId: string; subjectId: string } }

Type declaration

  • rsynkd: { messageId: string; method: RsMethod; payload: any; socketId: string; subjectId: string }
    • messageId: string
    • method: RsMethod
    • payload: any
    • socketId: string
    • subjectId: string

RsMethod

RsMethod: "next" | "error" | "complete" | "subscribe" | "noSuchObservable" | "unsubscribe"

RsSubject

RsSubject<T>: AsyncSubject<T> | BehaviorSubject<T> | ReplaySubject<T> | Subject<T>

Type parameters

  • T

RsSubscribe

RsSubscribe: { observer: NextObserver<any>; send: (msg: string) => any; socketId: string; subjectId: string }

Type declaration

  • observer: NextObserver<any>
  • send: (msg: string) => any
      • (msg: string): any
      • Parameters

        • msg: string

        Returns any

  • socketId: string
  • subjectId: string

RsUnsubscribe

RsUnsubscribe: { send: (msg: string) => any; socketId: string; subjectId: string }

Type declaration

  • send: (msg: string) => any
      • (msg: string): any
      • Parameters

        • msg: string

        Returns any

  • socketId: string
  • subjectId: string

Generated using TypeDoc