Class RpcMessageSubject

Hierarchy

  • RpcMessageSubject

Constructors

  • Parameters

    • continuation: (<T>(type: number, body?: T, schema?: ReceiveType<T>) => void)
        • <T>(type: number, body?: T, schema?: ReceiveType<T>): void
        • Type Parameters

          • T

          Parameters

          • type: number
          • Optional body: T
          • Optional schema: ReceiveType<T>

          Returns void

    • release: (() => void)

      Releases this subject. It is necessary that eventually every created subject is released, otherwise dramatic performance decrease and memory leak will happen.

        • (): void
        • Releases this subject. It is necessary that eventually every created subject is released, otherwise dramatic performance decrease and memory leak will happen.

          Returns void

    Returns RpcMessageSubject

Properties

catchOnReplyCallback: ((next: RpcMessage) => void) = ...

Type declaration

release: (() => void)

Type declaration

    • (): void
    • Releases this subject. It is necessary that eventually every created subject is released, otherwise dramatic performance decrease and memory leak will happen.

      Returns void

uncatchedNext?: RpcMessage

Methods

  • Sends a message to the server in the context of this created subject. If the connection meanwhile has been reconnected, and completed MessageSubject.

    Type Parameters

    • T

    Parameters

    • type: number
    • Optional body: T
    • Optional schema: ReceiveType<T>

    Returns RpcMessageSubject

Generated using TypeDoc